diff options
| -rw-r--r-- | php-pecl-sphinx.spec | 17 | 
1 files changed, 12 insertions, 5 deletions
diff --git a/php-pecl-sphinx.spec b/php-pecl-sphinx.spec index 40119e8..d32d6d2 100644 --- a/php-pecl-sphinx.spec +++ b/php-pecl-sphinx.spec @@ -1,6 +1,6 @@  # remirepo spec file for php-pecl-sphinx  # -# Copyright (c) 2011-2017 Remi Collet +# Copyright (c) 2011-2018 Remi Collet  #  # Fedora spec file for php-pecl-sphinx  # @@ -28,12 +28,11 @@  Name:           %{?sub_prefix}php-pecl-sphinx  Version:        1.4.0  %if 0%{?gh_date:1} -Release:        0.3.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release:        0.4.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}  %else -Release:        2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release:        3%{?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  License:        PHP  URL:            http://pecl.php.net/package/%{pecl_name}  %if 0%{?gh_date:1} @@ -42,6 +41,7 @@ Source0:        https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit  Source0:        http://pecl.php.net/get/%{pecl_name}-%{version}.tgz  %endif +BuildRequires:  %{?dtsprefix}gcc  BuildRequires:  libsphinxclient-devel  BuildRequires:  %{?scl_prefix}php-pear  BuildRequires:  %{?scl_prefix}php-devel > 7 @@ -79,6 +79,10 @@ Obsoletes:     php71w-pecl-%{pecl_name} <= %{version}  Obsoletes:     php72u-pecl-%{pecl_name} <= %{version}  Obsoletes:     php72w-pecl-%{pecl_name} <= %{version}  %endif +%if "%{php_version}" > "7.3" +Obsoletes:     php73u-pecl-%{pecl_name} <= %{version} +Obsoletes:     php73w-pecl-%{pecl_name} <= %{version} +%endif  %endif  %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -187,7 +191,7 @@ do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i  done -%if 0%{?fedora} < 24 +%if 0%{?fedora} < 24 && 0%{?rhel} < 8  # when pear installed alone, after us  %triggerin -- %{?scl_prefix}php-pear  if [ -x %{__pecl} ] ; then @@ -222,6 +226,9 @@ fi  %changelog +* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 1.4.0-0.4.20170203git201eb00 +- rebuild for 7.3.0alpha4 new ABI +  * Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 1.4.0-0.3.20170203git201eb00  - rebuild for PHP 7.2.0beta1 new API  | 
