summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-12-24 16:15:23 +0100
committerRemi Collet <fedora@famillecollet.com>2014-12-24 16:15:23 +0100
commit675fe1da6cc43c7ffad14ee03df62f668c1cbd30 (patch)
tree4373ab999f5c14bc9e9ae083b77a1473f1a11349
parent81dfb9ca90c449e15f95192a7a5eb3ee0d61c0f7 (diff)
Fedora 21 SCL mass rebuild (done)
-rw-r--r--php-pecl-zookeeper.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-zookeeper.spec b/php-pecl-zookeeper.spec
index 8aae82e..62c14d3 100644
--- a/php-pecl-zookeeper.spec
+++ b/php-pecl-zookeeper.spec
@@ -22,7 +22,7 @@
Summary: PHP extension for interfacing with Apache ZooKeeper
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: 0.2.2
-Release: 4%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 5%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
URL: http://github.com/andreiz/php-zookeeper
@@ -31,7 +31,11 @@ Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
+%if 0%{?fedora} >= 21
+BuildRequires: zookeeper-devel
+%else
BuildRequires: zookeeper-lib-devel
+%endif
Requires(post): %{__pecl}
Requires(postun): %{__pecl}
@@ -198,6 +202,9 @@ rm -rf %{buildroot}
%changelog
+* Wed Dec 24 2014 Remi Collet <remi@fedoraproject.org> - 0.2.2-5
+- F21 have zookeeper-devel instead of zookeeper-lib-devel
+
* Tue Aug 26 2014 Remi Collet <rcollet@redhat.com> - 0.2.2-4
- allow SCL build