summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-04-21 12:00:12 +0200
committerRemi Collet <remi@remirepo.net>2020-04-21 12:00:12 +0200
commit9ad7f9cc2df761bd2976880f81aad344849e5aa5 (patch)
treee0025df1e0a568a5d491b4fb6f0eb57b0aee0b72
parentfdec083057557d22e3ab09ed9dbddbf4e5551b60 (diff)
build against ImageMagick on EL-7
-rw-r--r--php-pecl-imagick.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/php-pecl-imagick.spec b/php-pecl-imagick.spec
index 448f2f0..a299dec 100644
--- a/php-pecl-imagick.spec
+++ b/php-pecl-imagick.spec
@@ -37,7 +37,7 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
Release: 0.8.%{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: 11%{?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
@@ -52,7 +52,7 @@ BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 5.4
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: pcre-devel
-%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
+%if 0%{?fedora} >= 30 || 0%{?rhel} >= 7
BuildRequires: ImageMagick-devel
%else
BuildRequires: ImageMagick6-devel
@@ -312,6 +312,9 @@ cd ../ZTS
%changelog
+* Tue Apr 21 2020 Remi Collet <remi@remirepo.net> - 3.4.4-11
+- build against ImageMagick on EL-7
+
* Wed Apr 1 2020 Remi Collet <remi@remirepo.net> - 3.4.4-10
- drop dependency on ImageMagick6-libs for EL-7.8
see https://github.com/remicollet/remirepo/issues/144