diff options
-rw-r--r-- | php-phpiredis.spec | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/php-phpiredis.spec b/php-phpiredis.spec index 21f8f79..0ae75b4 100644 --- a/php-phpiredis.spec +++ b/php-phpiredis.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-phpiredis # -# Copyright (c) 2016-2018 Remi Collet +# Copyright (c) 2016-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -25,14 +25,19 @@ %else %global ini_name 40-%{pecl_name}.ini %endif +%if 0%{?rhel} == 8 +# Temporarily disable as redis required +%global with_tests 0%{?_with_tests:1} +%else %global with_tests 0%{!?_without_tests:1} +%endif Name: %{?sub_prefix}php-%{pecl_name} Version: 1.0.0 %if 0%{?gh_date} -Release: 0.5.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0.6.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else -Release: 10%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 12%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %endif Summary: Client extension for Redis @@ -88,11 +93,17 @@ Obsoletes: php72w-%{pecl_name} <= %{version} Obsoletes: php72w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "7.3" -Obsoletes: php73u-%{pecl_name} <= %{version} -Obsoletes: php73u-pecl-%{pecl_name} <= %{version} +Obsoletes: php73-%{pecl_name} <= %{version} +Obsoletes: php73-pecl-%{pecl_name} <= %{version} Obsoletes: php73w-%{pecl_name} <= %{version} Obsoletes: php73w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.4" +Obsoletes: php74-%{pecl_name} <= %{version} +Obsoletes: php74-pecl-%{pecl_name} <= %{version} +Obsoletes: php74w-%{pecl_name} <= %{version} +Obsoletes: php74w-pecl-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -236,6 +247,12 @@ exit $ret %changelog +* Tue Jul 23 2019 Remi Collet <remi@remirepo.net> - 1.0.0-12 +- rebuild for 7.4.0beta1 + +* Tue Dec 4 2018 Remi Collet <remi@remirepo.net> - 1.0.0-11 +- EL-build with test suite temporarily disabled + * Thu Aug 16 2018 Remi Collet <remi@remirepo.net> - 1.0.0-10 - rebuild for 7.3.0beta2 new ABI |