summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-14 20:41:16 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-14 20:41:16 +0200
commit793c2f0db3bf700a9965752577689319575d47ea (patch)
treee2ee9c3aa51c590be35b6c7d318abfc901053571
parent2a257b041a311e77b70da252556cebec99f6f815 (diff)
PHP 7.1.0RC2 (SCL) + extension mass rebuild
-rw-r--r--php-pecl-solr2.spec11
1 files changed, 10 insertions, 1 deletions
diff --git a/php-pecl-solr2.spec b/php-pecl-solr2.spec
index eea77da..cdf95f1 100644
--- a/php-pecl-solr2.spec
+++ b/php-pecl-solr2.spec
@@ -39,7 +39,7 @@ Summary: Object oriented API to Apache Solr
Summary(fr): API orientée objet pour Apache Solr
Name: %{?sub_prefix}php-pecl-solr2
Version: 2.4.0
-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;')}}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/solr
@@ -100,6 +100,12 @@ Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
Obsoletes: php70u-pecl-%{pecl_name}2 <= %{version}
Obsoletes: php70w-pecl-%{pecl_name}2 <= %{version}
%endif
+%if "%{php_version}" > "7.1"
+Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
+Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
+Obsoletes: php71u-pecl-%{pecl_name}2 <= %{version}
+Obsoletes: php71w-pecl-%{pecl_name}2 <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -301,6 +307,9 @@ rm -rf %{buildroot}
%changelog
+* Wed Sep 14 2016 Remi Collet <remi@fedoraproject.org> - 2.4.0-2
+- rebuild for PHP 7.1 new API version
+
* Wed Mar 30 2016 Remi Collet <remi@fedoraproject.org> - 2.4.0-1
- update to 2.4.0 (stable)