diff options
-rw-r--r-- | PHPINFO | 2 | ||||
-rw-r--r-- | REFLECTION | 2 | ||||
-rw-r--r-- | php-pecl-dio.spec | 17 |
3 files changed, 15 insertions, 6 deletions
@@ -2,4 +2,4 @@ dio dio support => enabled -version => 0.2.1 +version => 0.2.2 @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #120 dio version 0.2.1 ] { +Extension [ <persistent> extension #64 dio version 0.2.2 ] { - Constants [36] { Constant [ int O_RDONLY ] { 0 } diff --git a/php-pecl-dio.spec b/php-pecl-dio.spec index 8095531..b6e1dcb 100644 --- a/php-pecl-dio.spec +++ b/php-pecl-dio.spec @@ -8,6 +8,12 @@ # %{?scl: %scl_package php-pecl-dio} +# For PHP < 5.6 and EPEL-9 +%{!?__phpize: %global __phpize %{_bindir}/phpize} +%{!?__ztsphpize: %global __ztsphpize %{_bindir}/zts-phpize} +%{!?__phpconfig: %global __phpconfig %{_bindir}/php-config} +%{!?__ztsphpconfig:%global __ztsphpconfig %{_bindir}/zts-php-config} + #global prever dev %global pecl_name dio %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} @@ -21,8 +27,8 @@ Summary: Direct I/O functions Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 0.2.1 -Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Version: 0.2.2 +Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP-3.01 URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{sources}.tgz @@ -168,11 +174,11 @@ REPORT_EXIT_STATUS=1 \ : Minimal load test for ZTS extension %{__ztsphp} --no-php-ini \ --define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ - --modules | grep %{pecl_name} + --modules | grep '^%{pecl_name}$' : Upstream test suite for ZTS extension TEST_PHP_EXECUTABLE=%{__ztsphp} \ -TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \ +TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \ REPORT_EXIT_STATUS=1 \ %{__ztsphp} -n run-tests.php -q --show-diff %endif @@ -193,6 +199,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Tue Jan 23 2024 Remi Collet <remi@remirepo.net> - 0.2.2-1 +- update to 0.2.2 + * Wed Oct 4 2023 Remi Collet <remi@remirepo.net> - 0.2.1-3 - build out of sources tree |