summaryrefslogtreecommitdiffstats
path: root/php-pecl-decimal.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-decimal.spec')
-rw-r--r--php-pecl-decimal.spec12
1 files changed, 10 insertions, 2 deletions
diff --git a/php-pecl-decimal.spec b/php-pecl-decimal.spec
index d084c77..9b067c9 100644
--- a/php-pecl-decimal.spec
+++ b/php-pecl-decimal.spec
@@ -25,7 +25,7 @@
Summary: Arbitrary-precision floating-point decimal
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 2.0.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
@@ -53,7 +53,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{rele
Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
%endif
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
+%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
%if "%{php_version}" > "7.1"
Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
@@ -186,6 +186,10 @@ fi
%check
+%if 0%{?fedora} >= 33
+rm ?TS/tests/Decimal/methods/{ceil,floor,trunc}.phpt
+%endif
+
cd NTS
OPT="-n -d extension=json.so"
@@ -236,6 +240,10 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Wed Aug 19 2020 Remi Collet <remi@remirepo.net> - 2.0.0-2
+- report Test failure with mpdecimal version 2.5
+ see https://github.com/php-decimal/ext-decimal/issues/48
+
* Tue Feb 4 2020 Remi Collet <remi@remirepo.net> - 2.0.0-1
- update to 2.0.0 (alpha)
- raise dependency on PHP 7.2