summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-ssdeep.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-ssdeep.spec b/php-pecl-ssdeep.spec
index 74e8c71..3c87e37 100644
--- a/php-pecl-ssdeep.spec
+++ b/php-pecl-ssdeep.spec
@@ -27,7 +27,7 @@
Summary: Wrapper for libfuzzy library
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 1.0.4
-Release: 12%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 13%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
@@ -73,6 +73,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
@@ -246,6 +250,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 1.0.4-13
+- rebuild for PHP 7.2.0beta1 new API
+
* Thu Dec 1 2016 Remi Collet <remi@fedoraproject.org> - 1.0.4-12
- rebuild with PHP 7.1.0 GA