summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-09-09 15:48:07 +0200
committerRemi Collet <remi@php.net>2022-09-09 15:48:07 +0200
commite5a386d3f864ba90430c53c9000b4986b6605cd2 (patch)
tree810f92877b3946ed5d8649eb3869fc994388901d
parent866bef8cafd216a994b31fb247f0839bc3c3d76f (diff)
skip 1 test failing with 8.2
-rw-r--r--php-pecl-uopz.spec14
1 files changed, 12 insertions, 2 deletions
diff --git a/php-pecl-uopz.spec b/php-pecl-uopz.spec
index 0112275..2abe8f8 100644
--- a/php-pecl-uopz.spec
+++ b/php-pecl-uopz.spec
@@ -10,6 +10,8 @@
%scl_package php-pecl-uopz
%endif
+%bcond_without tests
+
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global pecl_name uopz
%global ini_name 05-%{pecl_name}.ini
@@ -23,7 +25,7 @@
Summary: User Operations for Zend
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: 7.1.1
-Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
URL: https://pecl.php.net/package/%{pecl_name}
%if 0%{?gh_commit:1}
@@ -187,8 +189,13 @@ fi
%check
+%if "%{php_version}" >= "8.1"
# https://github.com/krakjoe/uopz/issues/160
-#rm ?TS/tests/012.phpt
+rm ?TS/tests/012.phpt
+%endif
+%if "%{php_version}" >= "8.2"
+rm ?TS/tests/019.phpt
+%endif
cd NTS
: Minimal load test for NTS extension
@@ -236,6 +243,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Fri Sep 9 2022 Remi Collet <remi@remirepo.net> - 7.1.1-3
+- skip 1 test failing with 8.2
+
* Fri Feb 11 2022 Remi Collet <remi@remirepo.net> - 7.1.1-2
- skip 1 test failing with 8.1 reported as
https://github.com/krakjoe/uopz/issues/160