diff options
Diffstat (limited to 'php-pecl-weakref-php7.spec')
-rw-r--r-- | php-pecl-weakref-php7.spec | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/php-pecl-weakref-php7.spec b/php-pecl-weakref-php7.spec index d441185..4ba7f9c 100644 --- a/php-pecl-weakref-php7.spec +++ b/php-pecl-weakref-php7.spec @@ -24,10 +24,10 @@ Summary: Implementation of weak references Name: %{?scl_prefix}php-pecl-weakref Version: 0.3.3 %if 0%{?gh_date} -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;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz %else -Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz %endif License: PHP @@ -66,6 +66,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 @@ -238,6 +242,9 @@ rm -rf %{buildroot} %changelog +* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 0.3.3-2 +- rebuild for PHP 7.2.0beta1 new API + * Tue Dec 13 2016 Remi Collet <remi@fedoraproject.org> - 0.3.3-1 - update to 0.3.3 |