summaryrefslogtreecommitdiffstats
path: root/php-pecl-imagick.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-07-29 08:28:54 +0200
committerRemi Collet <remi@php.net>2024-07-29 08:28:54 +0200
commitb91b62fab3d6b70585dd33856aae3d094f40a2d3 (patch)
tree53c8e6521c4c6b7f46a704b82c9ff944186d90ef /php-pecl-imagick.spec
parent213c1dc9acbc17b28c551a8db8ad485f34e354dd (diff)
test build
Diffstat (limited to 'php-pecl-imagick.spec')
-rw-r--r--php-pecl-imagick.spec6
1 files changed, 1 insertions, 5 deletions
diff --git a/php-pecl-imagick.spec b/php-pecl-imagick.spec
index b23c982..6da06ff 100644
--- a/php-pecl-imagick.spec
+++ b/php-pecl-imagick.spec
@@ -40,11 +40,7 @@
#global gh_date 20151204
%global pecl_name imagick
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
-%if "%{php_version}" < "5.6"
-%global ini_name %{pecl_name}.ini
-%else
%global ini_name 40-%{pecl_name}.ini
-%endif
%global upstream_version 3.7.0
#global upstream_prever RC1
%if 0%{?gh_date:1}
@@ -66,7 +62,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.7%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 10.8%{?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