summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-07-18 06:59:08 +0200
committerRemi Collet <remi@remirepo.net>2018-07-18 06:59:08 +0200
commite4466cd2bad5a4eb95e598218c36432dbb91c403 (patch)
tree45483415002b2132d80814995d90aef99f210d73
parent1d604d6d3f4e9a0c4102e89117f87da30ea00ae7 (diff)
rebuild for 7.3.0alpha4 new ABI
-rw-r--r--php-pecl-lzf.spec12
1 files changed, 10 insertions, 2 deletions
diff --git a/php-pecl-lzf.spec b/php-pecl-lzf.spec
index d27bce0..828d3b5 100644
--- a/php-pecl-lzf.spec
+++ b/php-pecl-lzf.spec
@@ -24,13 +24,14 @@
Name: %{?sub_prefix}php-pecl-lzf
Version: 1.6.6
-Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Summary: Extension to handle LZF de/compression
Group: Development/Languages
License: PHP
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
+BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: liblzf-devel
@@ -74,6 +75,10 @@ Obsoletes: php71w-pecl-%{ext_name} <= %{version}
Obsoletes: php72u-pecl-%{ext_name} <= %{version}
Obsoletes: php72w-pecl-%{ext_name} <= %{version}
%endif
+%if "%{php_version}" > "7.3"
+Obsoletes: php73u-pecl-%{ext_name} <= %{version}
+Obsoletes: php73w-pecl-%{ext_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -200,7 +205,7 @@ NO_INTERACTION=1 \
-d extension=%{buildroot}%{php_ztsextdir}/%{ext_name}.so
%endif
-%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 +240,9 @@ fi
%changelog
+* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 1.6.6-4
+- rebuild for 7.3.0alpha4 new ABI
+
* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 1.6.6-3
- rebuild for PHP 7.2.0beta1 new API