From 89d53b9195e7a376a3e155a1e7e47b7b7590a92a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 12 Apr 2026 08:05:29 +0200 Subject: update to 1.5.3 --- PHPINFO | 2 +- REFLECTION | 2 +- composer.json | 12 ++++++++++++ php-pecl-decimal.spec | 8 +++++--- 4 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 composer.json 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 [ extension #76 decimal version 1.5.1 ] { +Extension [ extension #76 decimal version 1.5.3 ] { - Classes [1] { Class [ 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 - 1.5.3-1 +- update to 1.5.3 + * Sat Apr 11 2026 Remi Collet - 1.5.1-1 - update to 1.5.1 - drop pear/pecl dependency -- cgit