From 7c4a2bac096c7df1a088e80feab4c1efcd11085d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 26 Sep 2025 14:34:21 +0200 Subject: update to 1.2.0 --- PHPINFO | 2 +- REFLECTION | 5 +++-- php-xz.spec | 7 +++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/PHPINFO b/PHPINFO index 44fbe39..ddcfd10 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ xz xz support => enabled -xz extension version => 1.1.5 +xz extension version => 1.2.0 liblzma version => 5.8.1 Directive => Local Value => Master Value diff --git a/REFLECTION b/REFLECTION index 6b6ffbc..86635fd 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #130 xz version 1.1.5 ] { +Extension [ extension #130 xz version 1.2.0 ] { - INI { Entry [ xz.compression_level ] @@ -43,8 +43,9 @@ Extension [ extension #130 xz version 1.1.5 ] { } Function [ function xzencode ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ string $str ] + Parameter #1 [ ?int $compression_level = null ] } - Return [ string|false ] } diff --git a/php-xz.spec b/php-xz.spec index 1c3d36d..b558d2f 100644 --- a/php-xz.spec +++ b/php-xz.spec @@ -12,7 +12,7 @@ %bcond_without tests # Forge -#global gh_commit be72e636dd7dd8a220cb9b54f2970477dad878a0 +#global gh_commit 87e7986fe109e78a9ccdb5170a377ad6abf66bfb %global gh_owner mateuszanella %global gh_project php-ext-xz %global forgeurl https://github.com/%{gh_owner}/%{gh_project} @@ -31,7 +31,7 @@ Summary: XZ (LZMA2) compression/decompression Name: %{?scl_prefix}php-%{pecl_name} -Version: 1.1.5 +Version: 1.2.0 %forgemeta Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP-3.01 @@ -167,6 +167,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Fri Sep 26 2025 Remi Collet - 1.2.0-1 +- update to 1.2.0 + * Thu Sep 25 2025 Remi Collet - 1.1.5-1 - update to 1.1.5 (no change) - switch to mateuszanella/php-ext-xz -- cgit