summaryrefslogtreecommitdiffstats
path: root/php-pecl-imagick.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-02-26 09:08:52 +0100
committerRemi Collet <remi@php.net>2024-02-26 09:08:52 +0100
commita273400035c91799bef253c70505508827f28314 (patch)
tree9fed3039bd3b06c1b550f379f17b9c3cd1eeaeec /php-pecl-imagick.spec
parent52e6007f62de0dcbf9f20ecafc4e818620fe6093 (diff)
test build
Diffstat (limited to 'php-pecl-imagick.spec')
-rw-r--r--php-pecl-imagick.spec8
1 files changed, 5 insertions, 3 deletions
diff --git a/php-pecl-imagick.spec b/php-pecl-imagick.spec
index 8302f5d..7e07143 100644
--- a/php-pecl-imagick.spec
+++ b/php-pecl-imagick.spec
@@ -7,15 +7,17 @@
# Please, preserve the changelog entries
#
-%bcond_with im6
-%bcond_with im7
%bcond_without tests
# Distribution default IM version
%if 0%{?fedora} >= 38 || 0%{?rhel} >= 10
%global default 7
+%bcond_with im6
+%bcond_with im7
%else
%global default 6
+%bcond_with im6
+%bcond_with im7
%endif
# 2 builds needed to get the full set
@@ -64,7 +66,7 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
Release: 0.11.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz
%else
-Release: 10%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 10.1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
%endif
License: PHP-3.01