From 4ba133ec111a105917ae36bdf36933d2548c4f75 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 2 Jul 2021 17:18:08 +0200 Subject: rename configuration file to 30-zip.ini to ensure zip extension will be loaded before imagick to find proper libzip --- php-pecl-zip.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/php-pecl-zip.spec b/php-pecl-zip.spec index 962abe7..7647a2b 100644 --- a/php-pecl-zip.spec +++ b/php-pecl-zip.spec @@ -27,13 +27,14 @@ %if "%{php_version}" < "5.6" %global ini_name %{pecl_name}.ini %else -%global ini_name 40-%{pecl_name}.ini +# ensure we are loaded before 40-imagick (for libzip) +%global ini_name 30-%{pecl_name}.ini %endif 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: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Languages URL: https://pecl.php.net/package/zip @@ -264,6 +265,10 @@ fi %changelog +* Fri Jul 2 2021 Remi Collet - 1.19.3-3 +- rename configuration file to 30-zip.ini to ensure zip extension + will be loaded before imagick to find proper libzip + * Sat Jun 19 2021 Remi Collet - 1.19.3-2 - rebuild with libzip 1.8.0 and zstd support -- cgit