From e48ba255846afc6e0901a33f826b884531033b50 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 5 Aug 2017 09:18:49 +0200 Subject: rebuild against ImageMagick6 new soname (6.9.9-5) --- php-pecl-imagick.spec | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/php-pecl-imagick.spec b/php-pecl-imagick.spec index d37e89e..dbd37fc 100644 --- a/php-pecl-imagick.spec +++ b/php-pecl-imagick.spec @@ -35,28 +35,23 @@ Version: 3.4.3 Release: 0.3.%{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: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 5%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz %endif License: PHP Group: Development/Languages URL: http://pecl.php.net/package/imagick -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: %{?scl_prefix}php-devel > 5.4 BuildRequires: %{?scl_prefix}php-pear BuildRequires: pcre-devel -%if "%{?vendor}" == "Remi Collet" -%if 0%{?fedora} > 99 +%if 0%{?fedora} > 26 BuildRequires: ImageMagick-devel Requires: ImageMagick-libs%{?_isa} >= %{imbuildver} %else BuildRequires: ImageMagick6-devel Requires: ImageMagick6-libs%{?_isa} >= %{imbuildver} %endif -%else -BuildRequires: ImageMagick-devel >= 6.5.3 -%endif Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} @@ -95,6 +90,10 @@ Obsoletes: php70w-pecl-%{pecl_name} <= %{version} Obsoletes: php71u-pecl-%{pecl_name} <= %{version} Obsoletes: php71w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.2" +Obsoletes: php72u-pecl-%{pecl_name} <= %{version} +Obsoletes: php72w-pecl-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -196,7 +195,6 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} %{?dtsenable} make install INSTALL_ROOT=%{buildroot} -C NTS @@ -270,12 +268,7 @@ cd ../ZTS %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{?_licensedir:%license NTS/LICENSE} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -299,6 +292,9 @@ rm -rf %{buildroot} %changelog +* Sat Aug 5 2017 Remi Collet - 3.4.3-5 +- rebuild against ImageMagick6 new soname (6.9.9-5) + * Tue Jul 18 2017 Remi Collet - 3.4.3-4 - rebuild for PHP 7.2.0beta1 new API -- cgit