From 41d132b9bd83b8e4942c0768e06756ab64a2aea0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 17 Jul 2018 17:39:30 +0200 Subject: rebuld for 7.3.0alpha4 new ABI --- php-horde-horde-lz4.spec | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/php-horde-horde-lz4.spec b/php-horde-horde-lz4.spec index 5e99eb6..f34086d 100644 --- a/php-horde-horde-lz4.spec +++ b/php-horde-horde-lz4.spec @@ -3,7 +3,7 @@ # # Fedora spec file for php-horde-horde-lz4 # -# Copyright (c) 2014-2017 Remi Collet +# Copyright (c) 2014-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -33,12 +33,13 @@ Summary: Horde LZ4 Compression Extension Name: %{?sub_prefix}php-horde-horde-lz4 Version: 1.0.10 -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;')}} License: MIT Group: Development/Languages URL: http://www.horde.org Source0: http://%{pecl_channel}/get/%{pecl_name}-%{version}.tgz +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear BuildRequires: lz4-devel @@ -80,6 +81,14 @@ Obsoletes: php70w-horde-horde-lz4 <= %{version} Obsoletes: php71u-horde-horde-lz4 <= %{version} Obsoletes: php71w-horde-horde-lz4 <= %{version} %endif +%if "%{php_version}" > "7.2" +Obsoletes: php72u-horde-horde-lz4 <= %{version} +Obsoletes: php72w-horde-horde-lz4 <= %{version} +%endif +%if "%{php_version}" > "7.3" +Obsoletes: php73u-horde-horde-lz4 <= %{version} +Obsoletes: php73w-horde-horde-lz4 <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -133,6 +142,8 @@ EOF %build +%{?dtsenable} + cd NTS %{_bindir}/phpize %configure \ @@ -151,6 +162,7 @@ make %{?_smp_mflags} %install +%{?dtsenable} make -C NTS install-modules INSTALL_ROOT=%{buildroot} @@ -172,7 +184,7 @@ do install -Dpm 644 NTS/$i %{buildroot}%{pear_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 @@ -235,6 +247,9 @@ cd ../ZTS %changelog +* Tue Jul 17 2018 Remi Collet - 1.0.10-5 +- rebuld for 7.3.0alpha4 new ABI + * Tue Jul 18 2017 Remi Collet - 1.0.10-4 - rebuild for PHP 7.2.0beta1 new API -- cgit