diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-03-31 08:47:31 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-03-31 08:47:31 +0200 |
commit | 34e19f9722dd57064a77465f5e953c0da92ce2d7 (patch) | |
tree | 4073beb2f79f0a48c0639a9caa9f964b087d9eac /php-pecl-zookeeper.spec | |
parent | b0cf727c7019e6f7aaf94bc534daf7be56b5310c (diff) |
switch the specs
Diffstat (limited to 'php-pecl-zookeeper.spec')
-rw-r--r-- | php-pecl-zookeeper.spec | 24 |
1 files changed, 22 insertions, 2 deletions
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 <remi@fedoraproject.org> - 0.3.1-1 +- Update to 0.3.1 (alpha) + +* Thu Dec 1 2016 Remi Collet <remi@fedoraproject.org> - 0.3.0-2 +- rebuild with PHP 7.1.0 GA + +* Fri Nov 18 2016 Remi Collet <remi@fedoraproject.org> - 0.3.0-1 +- Update to 0.3.0 alpha (for PHP 7) + * Mon Nov 07 2016 Remi Collet <remi@fedoraproject.org> - 0.2.3-1 - Update to 0.2.3 |