diff options
author | Remi Collet <remi@remirepo.net> | 2018-07-18 05:58:32 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-07-18 05:58:32 +0200 |
commit | 45f99f4d4374f249440174383022b178660857d7 (patch) | |
tree | e124e5e560ac205e9be30db4e6adcecda7582f38 | |
parent | 4e590a6e64a9cc98bb931115fa1c7d3edffe6989 (diff) |
rebuld for 7.3.0alpha4 new ABI
-rw-r--r-- | php-pecl-gmagick.spec | 14 |
1 files changed, 13 insertions, 1 deletions
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 <remi@remirepo.net> - 2.0.5~RC1-2 +- rebuld for 7.3.0alpha4 new ABI + * Mon Jan 1 2018 Remi Collet <remi@remirepo.net> - 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 |