diff options
author | Remi Collet <remi@remirepo.net> | 2021-09-09 11:20:01 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-09-09 11:20:01 +0200 |
commit | 5fc400b7fd928ab94fb694ff47290fcdb2100dd0 (patch) | |
tree | b764862605f434896d8a30a442c45980de8482a1 /php-pecl-decimal.spec | |
parent | dbe5077a345a4bdbb18ed188fa93da6f857edf0a (diff) |
ignore 1 test for 8.1
Diffstat (limited to 'php-pecl-decimal.spec')
-rw-r--r-- | php-pecl-decimal.spec | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/php-pecl-decimal.spec b/php-pecl-decimal.spec index 347f2f3..76000e3 100644 --- a/php-pecl-decimal.spec +++ b/php-pecl-decimal.spec @@ -24,7 +24,7 @@ Summary: Arbitrary-precision floating-point decimal Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.4.0 -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;')}} License: MIT URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz @@ -60,6 +60,9 @@ Obsoletes: php74-pecl-%{pecl_name} <= %{version} %if "%{php_version}" > "8.0" Obsoletes: php80-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "8.1" +Obsoletes: php81-pecl-%{pecl_name} <= %{version} +%endif %endif @@ -166,6 +169,11 @@ fi %check +%if "%{php_version}" > "8.1" +# ignore deprecated calls +rm ?TS/tests/php8/methods/__construct.phpt +%endif + cd NTS OPT="-n" [ -f %{php_extdir}/json.so ] && OPT="$OPT -d extension=json.so" @@ -217,6 +225,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Sep 9 2021 Remi Collet <remi@remirepo.net> - 1.4.0-2 +- ignore 1 test for 8.1 + * Thu Feb 18 2021 Remi Collet <remi@remirepo.net> - 1.4.0-1 - update to 1.4.0 |