From fd7bd2101daf95d4c842e22c42ec0d9e93a32778 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 18 Jul 2018 08:41:51 +0200 Subject: rebuild for 7.3.0alpha4 new ABI --- php-pecl-vips.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/php-pecl-vips.spec b/php-pecl-vips.spec index af71020..41a161e 100644 --- a/php-pecl-vips.spec +++ b/php-pecl-vips.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-vips # -# Copyright (c) 2016-2017 Remi Collet +# Copyright (c) 2016-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -22,12 +22,13 @@ Summary: PHP extension for interfacing with libvips Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.0.8 -Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear BuildRequires: pkgconfig(vips) >= 8.2 @@ -58,6 +59,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 @@ -151,7 +156,7 @@ do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i done -%if 0%{?fedora} < 24 +%if 0%{?fedora} < 24 && 0%{?rhel} < 8 # when pear installed alone, after us %triggerin -- %{?scl_prefix}php-pear if [ -x %{__pecl} ] ; then @@ -218,6 +223,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Wed Jul 18 2018 Remi Collet - 1.0.8-2 +- rebuild for 7.3.0alpha4 new ABI + * Thu Nov 23 2017 Remi Collet - 1.0.8-1 - Update to 1.0.8 -- cgit