summaryrefslogtreecommitdiffstats
path: root/php-pecl-weakref-php7.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-07-19 01:00:08 +0200
committerRemi Collet <remi@remirepo.net>2017-07-19 01:00:08 +0200
commit10a9a2a19a8f16498b2b05d4d365e47fb40976bc (patch)
tree38d101bb0b75de0ab459dff0da646d5e15f36777 /php-pecl-weakref-php7.spec
parenta6a240992054e8735bfae3e4fdf4aa479adb2ad4 (diff)
rebuild for 7.2.0beta1
Diffstat (limited to 'php-pecl-weakref-php7.spec')
-rw-r--r--php-pecl-weakref-php7.spec11
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