summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-10-24 10:22:53 +0200
committerRemi Collet <remi@php.net>2024-10-24 10:22:53 +0200
commit880e3f80a5ee7ab99c04ff2eba947c1aecbcd9d2 (patch)
tree419a761a51fe5a048642ed5812ba99a7b36bfe2d
parent47f085e0acaa2f43f6220305b80eb0ed7b3e3a64 (diff)
set php-peclèimagick-im7 as the preferred version
-rw-r--r--php-pecl-imagick.spec18
1 files changed, 10 insertions, 8 deletions
diff --git a/php-pecl-imagick.spec b/php-pecl-imagick.spec
index 5965fa8..7abd242 100644
--- a/php-pecl-imagick.spec
+++ b/php-pecl-imagick.spec
@@ -90,14 +90,18 @@ Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
%if %{with im7}
-Provides: %{?scl_prefix}php-%{pecl_name} = 1:%{version}%{?prever}
-Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = 1:%{version}%{?prever}
+Provides: %{?scl_prefix}php-%{pecl_name} = 1:%{version}
+Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = 1:%{version}
+Provides: %{?scl_prefix}php-pecl-imagick = 1:%{version}-%{release}
+Provides: %{?scl_prefix}php-pecl-imagick%{?_isa} = 1:%{version}-%{release}
%else
-Provides: %{?scl_prefix}php-%{pecl_name} = %{version}%{?prever}
-Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}%{?prever}
+Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
+Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
+Provides: %{?scl_prefix}php-pecl-imagick = %{version}-%{release}
+Provides: %{?scl_prefix}php-pecl-imagick%{?_isa} = %{version}-%{release}
%endif
-Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}%{?prever}
-Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}%{?prever}
+Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
+Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
Conflicts: %{?scl_prefix}php-pecl-gmagick
%if %{with im7}
@@ -115,8 +119,6 @@ Obsoletes: %{?scl_prefix}php-pecl-imagick <= %{version}-%{release}
Conflicts: %{?scl_prefix}php-pecl-imagick <= %{version}-%{release}
%endif
%endif
-Provides: %{?scl_prefix}php-pecl-imagick = %{version}-%{release}
-Provides: %{?scl_prefix}php-pecl-imagick%{?_isa} = %{version}-%{release}
%description
Imagick is a native php extension to create and modify images