summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-sphinx-php7.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/php-pecl-sphinx-php7.spec b/php-pecl-sphinx-php7.spec
index be98052..40119e8 100644
--- a/php-pecl-sphinx-php7.spec
+++ b/php-pecl-sphinx-php7.spec
@@ -28,9 +28,9 @@
Name: %{?sub_prefix}php-pecl-sphinx
Version: 1.4.0
%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: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%endif
Summary: PECL extension for Sphinx SQL full-text search engine
Group: Development/Languages
@@ -75,6 +75,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
@@ -218,6 +222,9 @@ fi
%changelog
+* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 1.4.0-0.3.20170203git201eb00
+- rebuild for PHP 7.2.0beta1 new API
+
* Fri Feb 3 2017 Remi Collet <remi@remirepo.net> - 1.4.0-0.2.20170203git201eb00
- update to 1.4.0-dev (git snapshot) for PHP 7
- refresh with fix for 32bits