summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-02-18 06:18:56 +0100
committerRemi Collet <remi@remirepo.net>2021-02-18 06:18:56 +0100
commit87e3c6b7efebfdf28e95e6a2d30aabafa77849d6 (patch)
treec94ffb101bbc375f5cbe7f1dfcd3987c9d184d4c
parent483932783561752f0add0693b8b221a2fd09246e (diff)
report Test failure with mpdecimal version 2.5
see https://github.com/php-decimal/ext-decimal/issues/48
-rw-r--r--php-pecl-decimal.spec19
1 files changed, 11 insertions, 8 deletions
diff --git a/php-pecl-decimal.spec b/php-pecl-decimal.spec
index d289100..15f9e81 100644
--- a/php-pecl-decimal.spec
+++ b/php-pecl-decimal.spec
@@ -1,6 +1,6 @@
# remirepo spec file for php-pecl-decimal
#
-# Copyright (c) 2018-2020 Remi Collet
+# Copyright (c) 2018-2021 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -24,11 +24,12 @@
Summary: Arbitrary-precision floating-point decimal
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 1.3.1
-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
+BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pear
@@ -68,12 +69,6 @@ Obsoletes: php74w-pecl-%{pecl_name} <= %{version}
%endif
%endif
-%if 0%{?fedora} < 20 && 0%{?rhel} < 7
-# Filter shared private
-%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
-%{?filter_setup}
-%endif
-
%description
Adds support for correctly-rounded arbitrary precision decimal floating point
@@ -178,6 +173,10 @@ fi
%check
+%if 0%{?fedora} >= 33
+rm ?TS/tests/methods/{ceil,floor,truncate}.phpt
+%endif
+
cd NTS
OPT="-n -d extension=json.so"
@@ -228,6 +227,10 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Wed Aug 19 2020 Remi Collet <remi@remirepo.net> - 1.3.1-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> - 1.3.1-1
- update to 1.3.1
- drop patch merged upstream