summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-07-17 17:39:30 +0200
committerRemi Collet <remi@remirepo.net>2018-07-17 17:39:30 +0200
commit41d132b9bd83b8e4942c0768e06756ab64a2aea0 (patch)
tree916c5ee8d8df2a708aa982b88d50c7bcc1e42334
parent0f2d1a1cfce8f46f4a9462ccceb788165fd765b4 (diff)
rebuld for 7.3.0alpha4 new ABI
-rw-r--r--php-horde-horde-lz4.spec21
1 files 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 <remi@remirepo.net> - 1.0.10-5
+- rebuld for 7.3.0alpha4 new ABI
+
* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 1.0.10-4
- rebuild for PHP 7.2.0beta1 new API