diff options
Diffstat (limited to 'php-pecl-eio.spec')
-rw-r--r-- | php-pecl-eio.spec | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/php-pecl-eio.spec b/php-pecl-eio.spec index d736b94..910913c 100644 --- a/php-pecl-eio.spec +++ b/php-pecl-eio.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-eio # -# Copyright (c) 2013-2023 Remi Collet +# Copyright (c) 2013-2024 Remi Collet # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -38,7 +38,7 @@ Summary: Provides interface to the libeio library Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} # Extension is PHP-3.01, library is BSD-2-Clause (or GPL-2.0-or-later) License: PHP-3.01 AND BSD-2-Clause URL: https://pecl.php.net/package/%{pecl_name} @@ -182,15 +182,17 @@ cd %{sources} %{__php} --no-php-ini \ $DEPMOD \ --define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ - --modules | grep %{pecl_name} + --modules | grep '^%{pecl_name}$' %if %{with tests} +# see https://github.com/rosmanov/pecl-eio/issues/21 +rm tests/eio_fallocate_basic.phpt + : Upstream test suite for NTS extension TEST_PHP_EXECUTABLE=%{__php} \ TEST_PHP_ARGS="-n $DEPMOD -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \ -NO_INTERACTION=1 \ REPORT_EXIT_STATUS=1 \ -%{__php} -n run-tests.php --show-diff +%{__php} -n run-tests.php -q --show-diff %endif %if %{with_zts} @@ -198,15 +200,14 @@ REPORT_EXIT_STATUS=1 \ %{__ztsphp} --no-php-ini \ $DEPMOD \ --define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ - --modules | grep %{pecl_name} + --modules | grep '^%{pecl_name}$' %if %{with tests} : Upstream test suite for ZTS extension TEST_PHP_EXECUTABLE=%{__ztsphp} \ TEST_PHP_ARGS="-n $DEPMOD -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \ -NO_INTERACTION=1 \ REPORT_EXIT_STATUS=1 \ -%{__ztsphp} -n run-tests.php --show-diff +%{__ztsphp} -n run-tests.php -q --show-diff %endif %endif @@ -226,6 +227,10 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Mon Feb 26 2024 Remi Collet <remi@remirepo.net> - 3.1.0-2 +- F40: ignore 1 test failing reported as + https://github.com/rosmanov/pecl-eio/issues/21 + * Mon Sep 11 2023 Remi Collet <remi@remirepo.net> - 3.1.0-1 - update to 3.1.0 |