summaryrefslogtreecommitdiffstats
path: root/php-pecl-zip.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-zip.spec')
-rw-r--r--php-pecl-zip.spec9
1 files 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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 1.19.3-2
- rebuild with libzip 1.8.0 and zstd support