diff options
Diffstat (limited to 'php-pecl-apcu-bc.spec')
-rw-r--r-- | php-pecl-apcu-bc.spec | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/php-pecl-apcu-bc.spec b/php-pecl-apcu-bc.spec index 22cf48a..3f95ee4 100644 --- a/php-pecl-apcu-bc.spec +++ b/php-pecl-apcu-bc.spec @@ -34,17 +34,17 @@ Name: %{?sub_prefix}php-pecl-%{pecl_name} Summary: APCu Backwards Compatibility Module Version: 1.0.4 %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;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{proj_name}-%{version}-%{gh_short}.tar.gz %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;')}} Source0: http://pecl.php.net/get/%{proj_name}-%{version}.tgz %endif License: PHP URL: https://pecl.php.net/package/apcu_bc -BuildRequires: gcc +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-pecl-apcu-devel >= 5.1.2 @@ -87,6 +87,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 @@ -246,6 +250,9 @@ fi %changelog +* Tue Jul 17 2018 Remi Collet <remi@remirepo.net> - 1.0.4-2 +- rebuld for 7.3.0alpha4 new ABI + * Fri Feb 16 2018 Remi Collet <remi@remirepo.net> - 1.0.4-1 - update to 1.0.4 (stable, no change) |