diff options
| -rw-r--r-- | php-pecl-zip.spec | 9 | 
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-zip.spec b/php-pecl-zip.spec index 0917fc0..d3293bf 100644 --- a/php-pecl-zip.spec +++ b/php-pecl-zip.spec @@ -43,7 +43,7 @@  Summary:      A ZIP archive management extension  Name:         %{?scl_prefix}php-pecl-zip  Version:      %{upstream_version}%{?upstream_prever:~%{upstream_lower}} -Release:      2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release:      4%{?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 @@ -51,6 +51,8 @@ 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  BuildRequires: make  BuildRequires: %{?dtsprefix}gcc @@ -101,6 +103,8 @@ sed -e 's/role="test"/role="src"/' \  cd %{sources}  %patch -P0 -p1 +%patch -P1 -p1 +%patch -P2 -p1  sed -e '/PHP_ZIP_VERSION/s/1.22.dev/%{version}/' -i php74/php_zip.h  # Sanity check, really often broken @@ -226,6 +230,9 @@ TEST_PHP_EXECUTABLE=%{__ztsphp} \  %changelog +* Wed Jul 30 2025 Remi Collet <remi@remirepo.net> - 1.22.6-3 +- rebuild for 8.5.0alpha3 +  * Tue Jul  1 2025 Remi Collet <remi@remirepo.net> - 1.22.6-2  - add upstream patch for 8.5  | 
