summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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