summaryrefslogtreecommitdiffstats
path: root/php-pecl-yar.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-07-19 01:11:47 +0200
committerRemi Collet <remi@remirepo.net>2017-07-19 01:11:47 +0200
commitcb9958d89f329c5c378f6b9d0d3a1b283a075e99 (patch)
tree6f334427f944dee973cacc87b8ff6e250f93868f /php-pecl-yar.spec
parent2fb744b532cee2589a8c810461c1e95f794e9057 (diff)
rebuild for 7.2.0beta1
Diffstat (limited to 'php-pecl-yar.spec')
-rw-r--r--php-pecl-yar.spec11
1 files changed, 9 insertions, 2 deletions
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 <remi@remirepo.net> - 2.0.2-3
+- rebuild for PHP 7.2.0beta1 new API
+
* Mon Jun 26 2017 Remi Collet <remi@remirepo.net> - 2.0.2-2
- add upstream patch for PHP 7.2 from
https://github.com/laruence/yar/pull/106