From cb9958d89f329c5c378f6b9d0d3a1b283a075e99 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 19 Jul 2017 01:11:47 +0200 Subject: rebuild for 7.2.0beta1 --- php-pecl-yar.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'php-pecl-yar.spec') diff --git a/php-pecl-yar.spec b/php-pecl-yar.spec index bfc4561..8d55a6b 100644 --- a/php-pecl-yar.spec +++ b/php-pecl-yar.spec @@ -31,10 +31,10 @@ Summary: Light, concurrent RPC framework Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 2.0.2 %if 0%{?gh_date:1} -Release: 0.11.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0.12.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz %else -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz %endif License: PHP @@ -87,6 +87,10 @@ Obsoletes: php70w-pecl-%{pecl_name} <= %{version} Obsoletes: php71u-pecl-%{pecl_name} <= %{version} Obsoletes: php71w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.2" +Obsoletes: php72u-pecl-%{pecl_name} <= %{version} +Obsoletes: php72w-pecl-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -278,6 +282,9 @@ export YAR_API_PORT=8964 %changelog +* Tue Jul 18 2017 Remi Collet - 2.0.2-3 +- rebuild for PHP 7.2.0beta1 new API + * Mon Jun 26 2017 Remi Collet - 2.0.2-2 - add upstream patch for PHP 7.2 from https://github.com/laruence/yar/pull/106 -- cgit