diff options
| -rw-r--r-- | php-pecl-yac-dev.spec | 13 | 
1 files changed, 10 insertions, 3 deletions
| diff --git a/php-pecl-yac-dev.spec b/php-pecl-yac-dev.spec index 6c6b54c..563207b 100644 --- a/php-pecl-yac-dev.spec +++ b/php-pecl-yac-dev.spec @@ -22,11 +22,11 @@  %{!?__pecl:      %global __pecl      %{_bindir}/pecl}  %{!?__php:       %global __php       %{_bindir}/php} -%global gh_commit   1d26cd46e37d42b47cfea16d3391464022453570 +%global gh_commit   85f6e355c26ddd27f76d96fab4ad273f12e346e7  %global gh_short    %(c=%{gh_commit}; echo ${c:0:7})  %global gh_owner    laruence  %global gh_project  yac -%global gh_date     20150616 +%global gh_date     20150701  %global with_zts    0%{?__ztsphp:1}  %global pecl_name   yac  %global with_tests  %{!?_without_tests:1}%{?_without_tests:0} @@ -41,7 +41,7 @@ Summary:        Lockless user data cache  Name:           %{?sub_prefix}php-pecl-%{pecl_name}  Version:        0.9.3  %if 0%{?gh_date:1} -Release:        0.2.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release:        0.3.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}  %else  Release:        2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}  %endif @@ -83,6 +83,10 @@ Obsoletes:     php55w-pecl-%{pecl_name} <= %{version}  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  %endif  %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -268,6 +272,9 @@ rm -rf %{buildroot}  %changelog +* Wed Jul  8 2015 Remi Collet <remi@fedoraproject.org> - 0.9.3-0.3.20150701git85f6e35 +- rebuild against php 7.0.0beta1 +  * Wed Jun 24 2015 Remi Collet <remi@fedoraproject.org> - 0.9.3-0.2.20150616git1d26cd4  - rebuild for "rh_layout" (php70) | 
