From 4224414a61091780824ad12b9b0cefe2f30f30cc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 6 Jan 2017 05:55:37 +0100 Subject: php-pecl-hrtime: 0.6.0 --- REFLECTION | 56 ++++++++++++++++++++++++---------------------------- php-pecl-hrtime.spec | 18 +++++++++++------ 2 files changed, 38 insertions(+), 36 deletions(-) diff --git a/REFLECTION b/REFLECTION index 10667b8..c0941d3 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #96 hrtime version 0.5.1 ] { +Extension [ extension #95 hrtime version 0.6.0 ] { - Classes [3] { Class [ class HRTime\PerformanceCounter ] { @@ -9,30 +9,21 @@ Extension [ extension #96 hrtime version 0.5.1 ] { - Static properties [0] { } - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [6] { - Method [ public method start ] { - } - - Method [ public method stop ] { + - Static methods [3] { + Method [ static public method getFrequency ] { } - Method [ public method getElapsedTicks ] { + Method [ static public method getTicks ] { } - Method [ public method getLastElapsedTicks ] { + Method [ static public method getTicksSince ] { } + } - Method [ public method getFrequency ] { - } + - Properties [0] { + } - Method [ public method isRunning ] { - } + - Methods [0] { } } @@ -44,35 +35,40 @@ Extension [ extension #96 hrtime version 0.5.1 ] { - Static properties [0] { } - - Static methods [0] { + - Static methods [3] { + Method [ static public method getFrequency ] { + } + + Method [ static public method getTicks ] { + } + + Method [ static public method getTicksSince ] { + } } - Properties [0] { } - - Methods [8] { - Method [ public method getElapsedTime ] { - } - - Method [ public method getLastElapsedTime ] { + - Methods [7] { + Method [ public method start ] { } - Method [ public method start ] { + Method [ public method stop ] { } - Method [ public method stop ] { + Method [ public method getElapsedTicks ] { } - Method [ public method getElapsedTicks ] { + Method [ public method getLastElapsedTicks ] { } - Method [ public method getLastElapsedTicks ] { + Method [ public method isRunning ] { } - Method [ public method getFrequency ] { + Method [ public method getElapsedTime ] { } - Method [ public method isRunning ] { + Method [ public method getLastElapsedTime ] { } } } diff --git a/php-pecl-hrtime.spec b/php-pecl-hrtime.spec index 689958c..254416e 100644 --- a/php-pecl-hrtime.spec +++ b/php-pecl-hrtime.spec @@ -21,8 +21,8 @@ Summary: High resolution timing Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 0.5.1 -Release: 9%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 0.6.0 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} @@ -40,8 +40,10 @@ Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +%if "%{?scl_prefix}" != "%{?sub_prefix}" Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} +%endif %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} # Other third party repo stuff @@ -114,6 +116,8 @@ EOF %build +%{?dtsenable} + cd NTS %{_bindir}/phpize %configure \ @@ -130,10 +134,10 @@ make %{?_smp_mflags} %install +%{?dtsenable} rm -rf %{buildroot} -make -C NTS \ - install INSTALL_ROOT=%{buildroot} +make -C NTS install INSTALL_ROOT=%{buildroot} # install config file install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} @@ -142,8 +146,7 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml %if %{with_zts} -make -C ZTS \ - install INSTALL_ROOT=%{buildroot} +make -C ZTS install INSTALL_ROOT=%{buildroot} install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} %endif @@ -227,6 +230,9 @@ rm -rf %{buildroot} %changelog +* Fri Jan 6 2017 Remi Collet - 0.6.0-1 +- Update to 0.6.0 + * Thu Dec 1 2016 Remi Collet - 0.5.1-9 - rebuild with PHP 7.1.0 GA -- cgit