From 45f99f4d4374f249440174383022b178660857d7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 18 Jul 2018 05:58:32 +0200 Subject: rebuld for 7.3.0alpha4 new ABI --- php-pecl-gmagick.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/php-pecl-gmagick.spec b/php-pecl-gmagick.spec index 18120ae..934d5d4 100644 --- a/php-pecl-gmagick.spec +++ b/php-pecl-gmagick.spec @@ -23,11 +23,12 @@ Summary: Provides a wrapper to the GraphicsMagick library Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-devel >= 7.0.1 BuildRequires: GraphicsMagick-devel >= 1.3.17 @@ -68,6 +69,10 @@ Obsoletes: php71w-pecl-%{pecl_name} <= %{version} Obsoletes: php72u-pecl-%{pecl_name} <= %{version} Obsoletes: php72w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.3" +Obsoletes: php73u-pecl-%{pecl_name} <= %{version} +Obsoletes: php73w-pecl-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -115,6 +120,8 @@ cp -r NTS ZTS %build +%{?dtsenable} + cd NTS %{_bindir}/phpize %{configure} --with-%{pecl_name} --with-php-config=%{_bindir}/php-config @@ -129,6 +136,8 @@ make %{?_smp_mflags} %install +%{?dtsenable} + make -C NTS install INSTALL_ROOT=%{buildroot} # Install XML package description @@ -221,6 +230,9 @@ export TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" %changelog +* Wed Jul 18 2018 Remi Collet - 2.0.5~RC1-2 +- rebuld for 7.3.0alpha4 new ABI + * Mon Jan 1 2018 Remi Collet - 2.0.5~RC1-1 - Update to 2.0.5RC1 (php 7, beta) - skip tests because GraphicMagick have issues with urw-fonts on Fedora 27 -- cgit