From 8361bc32709d7249858c61a9a17614fdb3e6323c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 15 Jul 2018 20:39:02 +0200 Subject: update to 0.6.1 raise dependency on PHP 7 --- php-pecl-zookeeper.spec | 17 ++++++++++------- 1 file 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 - 0.6.1-1 +- update to 0.6.1 +- raise dependency on PHP 7 + * Wed Jun 27 2018 Remi Collet - 0.6.0-1 - update to 0.6.0 - open https://github.com/php-zookeeper/php-zookeeper/issues/21 PHP version -- cgit