summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-04-12 08:05:29 +0200
committerRemi Collet <remi@php.net>2026-04-12 08:05:29 +0200
commit89d53b9195e7a376a3e155a1e7e47b7b7590a92a (patch)
tree6173a62f666e475eddc14d67a5674370c577fba2
parent406e31f27315f30ce58bab71d57b391f88c75c50 (diff)
update to 1.5.3
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION2
-rw-r--r--composer.json12
-rw-r--r--php-pecl-decimal.spec8
4 files changed, 19 insertions, 5 deletions
diff --git a/PHPINFO b/PHPINFO
index c07a4a4..d65aa36 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,5 +2,5 @@
decimal
decimal support => enabled
-decimal version => 1.5.1
+decimal version => 1.5.3
libmpdec version => 4.0.1
diff --git a/REFLECTION b/REFLECTION
index 7c627d7..71218b7 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #76 decimal version 1.5.1 ] {
+Extension [ <persistent> extension #76 decimal version 1.5.3 ] {
- Classes [1] {
Class [ <internal:decimal> final class Decimal\Decimal implements Stringable, JsonSerializable ] {
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..5325b19
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,12 @@
+{
+ "name": "php-decimal/ext-decimal",
+ "type": "php-ext",
+ "license": "MIT",
+ "description": "Correctly-rounded, arbitrary precision decimal floating-point arithmetic in PHP",
+ "require": {
+ "php": ">= 7.4.0"
+ },
+ "php-ext": {
+ "extension-name": "decimal"
+ }
+}
diff --git a/php-pecl-decimal.spec b/php-pecl-decimal.spec
index 02c7759..9dd74bd 100644
--- a/php-pecl-decimal.spec
+++ b/php-pecl-decimal.spec
@@ -30,7 +30,7 @@
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Summary: Arbitrary-precision floating-point decimal
License: MIT
-Version: 1.5.1
+Version: 1.5.3
Release: 1%{?dist}
%forgemeta
URL: %{forgeurl}
@@ -38,8 +38,7 @@ Source0: %{forgesource}
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
-# See https://github.com/php-decimal/ext-decimal/issues/91
-BuildRequires: %{?scl_prefix}php-devel >= 8.0
+BuildRequires: %{?scl_prefix}php-devel >= 7.4
BuildRequires: %{?scl_prefix}php-json
BuildRequires: mpdecimal-devel >= 2.4
@@ -163,6 +162,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Sun Apr 12 2026 Remi Collet <remi@remirepo.net> - 1.5.3-1
+- update to 1.5.3
+
* Sat Apr 11 2026 Remi Collet <remi@remirepo.net> - 1.5.1-1
- update to 1.5.1
- drop pear/pecl dependency