From 34e19f9722dd57064a77465f5e953c0da92ce2d7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 31 Mar 2017 08:47:31 +0200 Subject: switch the specs --- php-pecl-zookeeper.spec | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'php-pecl-zookeeper.spec') diff --git a/php-pecl-zookeeper.spec b/php-pecl-zookeeper.spec index 3bcca41..689d272 100644 --- a/php-pecl-zookeeper.spec +++ b/php-pecl-zookeeper.spec @@ -18,7 +18,7 @@ Summary: PHP extension for interfacing with Apache ZooKeeper Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 0.2.3 +Version: 0.3.1 Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP Group: Development/Languages @@ -26,7 +26,7 @@ URL: http://github.com/andreiz/php-zookeeper Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: %{?scl_prefix}php-devel < 7 +BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear BuildRequires: zookeeper-devel @@ -56,6 +56,14 @@ Obsoletes: php55w-pecl-%{pecl_name} <= %{version} Obsoletes: php56u-pecl-%{pecl_name} <= %{version} Obsoletes: php56w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.0" +Obsoletes: php70u-pecl-%{pecl_name} <= %{version} +Obsoletes: php70w-pecl-%{pecl_name} <= %{version} +%endif +%if "%{php_version}" > "7.1" +Obsoletes: php71u-pecl-%{pecl_name} <= %{version} +Obsoletes: php71w-pecl-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -105,6 +113,8 @@ EOF %build +%{?dtsenable} + cd NTS %{_bindir}/phpize %configure \ @@ -126,6 +136,7 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} +%{?dtsenable} make -C NTS install INSTALL_ROOT=%{buildroot} @@ -204,6 +215,15 @@ rm -rf %{buildroot} %changelog +* Mon Jan 23 2017 Remi Collet - 0.3.1-1 +- Update to 0.3.1 (alpha) + +* Thu Dec 1 2016 Remi Collet - 0.3.0-2 +- rebuild with PHP 7.1.0 GA + +* Fri Nov 18 2016 Remi Collet - 0.3.0-1 +- Update to 0.3.0 alpha (for PHP 7) + * Mon Nov 07 2016 Remi Collet - 0.2.3-1 - Update to 0.2.3 -- cgit