diff options
Diffstat (limited to 'php-pecl-zip.spec')
-rw-r--r-- | php-pecl-zip.spec | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/php-pecl-zip.spec b/php-pecl-zip.spec index 46f7dfa..74df757 100644 --- a/php-pecl-zip.spec +++ b/php-pecl-zip.spec @@ -25,7 +25,7 @@ %global pie_vend pecl %global pie_proj zip -%global upstream_version 1.22.6 +%global upstream_version 1.22.7 #global upstream_prever dev #global upstream_lower DEV %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} @@ -43,20 +43,13 @@ Summary: A ZIP archive management extension Name: %{?scl_prefix}php-pecl-zip Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}} -Release: 6%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP-3.01 Group: Development/Languages URL: https://pecl.php.net/package/zip Source0: https://pecl.php.net/get/%{sources}.tgz -Patch0: 0001-8.5-compat.patch -Patch1: 0001-fix-test-for-8.5.0beta2.patch -Patch2: 0001-Fix-leak-when-path-is-too-long-in-ZipArchive-extract.patch -Patch3: 0001-Fix-memory-leak-in-zip-when-encountering-empty-glob-.patch -Patch4: 0002-Fix-GH-19688-Remove-pattern-overflow-in-zip-addGlob.patch -Patch5: 0003-regen-arginfo.patch - BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel @@ -121,14 +114,6 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd %{sources} -%patch -P0 -p1 -%patch -P1 -p1 -%patch -P2 -p1 -%patch -P3 -p1 -%patch -P4 -p1 -%patch -P5 -p1 -sed -e '/PHP_ZIP_VERSION/s/1.22.dev/%{version}/' -i php74/php_zip.h - # Sanity check, really often broken extver=$(sed -n '/#define PHP_ZIP_VERSION/{s/.* "//;s/".*$//;p}' php74/php_zip.h) if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}" -a "x${extver}" != "x%{upstream_version}-%{?upstream_prever}"; then @@ -252,6 +237,9 @@ TEST_PHP_EXECUTABLE=%{__ztsphp} \ %changelog +* Thu Sep 25 2025 Remi Collet <remi@remirepo.net> - 1.22.7-1 +- update to 1.22.7 + * Thu Sep 25 2025 Remi Collet <remi@remirepo.net> - 1.22.6-6 - rebuild for PHP 8.5.0RC1 |