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, 8 insertions, 4 deletions
diff --git a/php-pecl-decimal.spec b/php-pecl-decimal.spec
index adfdbb1..69e3e1e 100644
--- a/php-pecl-decimal.spec
+++ b/php-pecl-decimal.spec
@@ -29,14 +29,12 @@
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Summary: Arbitrary-precision floating-point decimal
License: MIT
-Version: 2.0.1
+Version: 2.0.2
Release: 1%{?dist}
%forgemeta
URL: %{forgeurl}
Source0: %{forgesource}
-Patch0: 95.patch
-
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 8.2
@@ -65,7 +63,8 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO
%prep
%forgesetup
-%patch -P0 -p1
+
+sed -e '/PHP_DECIMAL_VERSION/s/2.0.1/%{version}/' -i php_decimal.h
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_DECIMAL_VERSION/{s/.* "//;s/".*$//;p}' php_decimal.h)
@@ -159,6 +158,11 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \
%changelog
+* Wed Apr 15 2026 Remi Collet <remi@remirepo.net> - 2.0.2-1
+- update to 2.0.2 (no change)
+- drop patch merged upstream
+- open https://github.com/php-decimal/ext-decimal/pull/97 fix version
+
* Sun Apr 12 2026 Remi Collet <remi@remirepo.net> - 2.0.1-1
- update to 2.0.1
- drop support for PHP < 8.2