summaryrefslogtreecommitdiffstats
path: root/php-pecl-zookeeper.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-07-15 20:39:02 +0200
committerRemi Collet <remi@remirepo.net>2018-07-15 20:39:02 +0200
commit8361bc32709d7249858c61a9a17614fdb3e6323c (patch)
treec3bcc4c2b60056eb99307ab07c56f4aa26f83a33 /php-pecl-zookeeper.spec
parent3f3252b2ad2160dccd233245a73d51d419cae73a (diff)
update to 0.6.1
raise dependency on PHP 7
Diffstat (limited to 'php-pecl-zookeeper.spec')
-rw-r--r--php-pecl-zookeeper.spec17
1 files changed, 10 insertions, 7 deletions
diff --git a/php-pecl-zookeeper.spec b/php-pecl-zookeeper.spec
index 0058d86..6d54939 100644
--- a/php-pecl-zookeeper.spec
+++ b/php-pecl-zookeeper.spec
@@ -21,7 +21,7 @@
Summary: PHP extension for interfacing with Apache ZooKeeper
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 0.6.0
+Version: 0.6.1
Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
@@ -29,7 +29,7 @@ URL: http://github.com/andreiz/php-zookeeper
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
BuildRequires: %{?dtsprefix}gcc
-BuildRequires: %{?scl_prefix}php-devel
+BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: zookeeper-devel
@@ -47,14 +47,10 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele
%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
-%if "%{php_version}" > "5.6"
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}
@@ -63,6 +59,10 @@ Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.3"
+Obsoletes: php73u-pecl-%{pecl_name} <= %{version}
+Obsoletes: php73w-pecl-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -85,7 +85,6 @@ mv %{pecl_name}-%{version} NTS
%{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml}
cd NTS
-
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_ZOOKEEPER_VERSION/{s/.* "//;s/".*$//;p}' php_zookeeper.h)
if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then
@@ -208,6 +207,10 @@ cd ../ZTS
%changelog
+* Sun Jul 15 2018 Remi Collet <remi@remirepo.net> - 0.6.1-1
+- update to 0.6.1
+- raise dependency on PHP 7
+
* Wed Jun 27 2018 Remi Collet <remi@remirepo.net> - 0.6.0-1
- update to 0.6.0
- open https://github.com/php-zookeeper/php-zookeeper/issues/21 PHP version