summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-07-02 17:18:08 +0200
committerRemi Collet <remi@remirepo.net>2021-07-02 17:18:08 +0200
commit4ba133ec111a105917ae36bdf36933d2548c4f75 (patch)
tree97cfb308405cb7983bfc7c94de0cfd3150f64244
parent27f98803d809138698fba0c605a03ce9eba232de (diff)
rename configuration file to 30-zip.ini to ensure zip extension
will be loaded before imagick to find proper libzip
-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