diff options
| -rw-r--r-- | php-phpiredis.spec | 11 | 
1 files changed, 9 insertions, 2 deletions
diff --git a/php-phpiredis.spec b/php-phpiredis.spec index c1e112f..fcd3d1f 100644 --- a/php-phpiredis.spec +++ b/php-phpiredis.spec @@ -31,9 +31,9 @@  Name:           %{?sub_prefix}php-%{pecl_name}  Version:        1.0.1  %if 0%{?gh_date} -Release:        2%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release:        3%{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:        Client extension for Redis @@ -76,6 +76,10 @@ Obsoletes:     php74-pecl-%{pecl_name}  <= %{version}  Obsoletes:     php80-%{pecl_name}       <= %{version}  Obsoletes:     php80-pecl-%{pecl_name}  <= %{version}  %endif +%if "%{php_version}" > "8.1" +Obsoletes:     php81-%{pecl_name}       <= %{version} +Obsoletes:     php81-pecl-%{pecl_name}  <= %{version} +%endif  %endif  %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -219,6 +223,9 @@ exit $ret  %changelog +* Wed Sep 01 2021 Remi Collet <remi@remirepo.net> - 1.0.1-3 +- rebuild for 8.1.0RC1 +  * Wed Sep 30 2020 Remi Collet <remi@remirepo.net> - 1.0.1-2  - rebuild for PHP 8.0.0RC1  | 
