summaryrefslogtreecommitdiffstats
path: root/php-pecl-dio.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-dio.spec')
-rw-r--r--php-pecl-dio.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-dio.spec b/php-pecl-dio.spec
index feb9d14..e5dc701 100644
--- a/php-pecl-dio.spec
+++ b/php-pecl-dio.spec
@@ -20,7 +20,7 @@
Summary: Direct I/O functions
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: 0.1.0
-Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
@@ -65,6 +65,10 @@ Obsoletes: php70w-pecl-%{pecl_name}
Obsoletes: php71u-pecl-%{pecl_name}
Obsoletes: php71w-pecl-%{pecl_name}
%endif
+%if "%{php_version}" > "7.2"
+Obsoletes: php72u-pecl-%{pecl_name}
+Obsoletes: php72w-pecl-%{pecl_name}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -235,6 +239,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 0.1.0-3
+- rebuild for PHP 7.2.0beta1 new API
+
* Wed Jun 21 2017 Remi Collet <remi@remirepo.net> - 0.1.0-2
- rebuild for 7.2.0alpha2