summaryrefslogtreecommitdiffstats
path: root/php-pecl-eio.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-02-19 08:40:35 +0100
committerRemi Collet <remi@php.net>2024-02-19 08:40:35 +0100
commit5a240860343380fa95cfba8d7e831a2f618ab262 (patch)
tree77111887babd0a344bb2434cface6b5b4002aa50 /php-pecl-eio.spec
parentf2320ac9f1f856ea837c167b4d5bfe01c0c57272 (diff)
F40: ignore 1 test failing reported as
https://github.com/rosmanov/pecl-eio/issues/21
Diffstat (limited to 'php-pecl-eio.spec')
-rw-r--r--php-pecl-eio.spec21
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