summaryrefslogtreecommitdiffstats
path: root/php-pecl-redis6.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-redis6.spec')
-rw-r--r--php-pecl-redis6.spec21
1 files changed, 20 insertions, 1 deletions
diff --git a/php-pecl-redis6.spec b/php-pecl-redis6.spec
index 3945997..e68b245 100644
--- a/php-pecl-redis6.spec
+++ b/php-pecl-redis6.spec
@@ -37,7 +37,7 @@
Summary: PHP extension for interfacing with key-value stores
Name: %{?scl_prefix}php-pecl-redis6
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP-3.01
URL: https://pecl.php.net/package/redis
Source0: https://pecl.php.net/get/%{sources}.tgz
@@ -82,11 +82,14 @@ Requires: %{?scl_prefix}php-igbinary%{?_isa}
Requires: %{?scl_prefix}php-msgpack%{?_isa}
%endif
+# Extension
Obsoletes: %{?scl_prefix}php-%{pecl_name} < 3
Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
+# PECL
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
+# PIE
Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version}
Provides: %{?scl_prefix}php-%{pie_vend}-%{pie_proj} = %{version}
@@ -107,6 +110,19 @@ Conflicts: %{?scl_prefix}php-pecl-%{pecl_name}4 < 6
Conflicts: %{?scl_prefix}php-pecl-%{pecl_name}5 < 6
%endif
+%if 0%{?rhel} >= 10 && "%{?vendeur}" == "remi" && 0%{!?scl:1}
+%if "%{php_version}" >= "8.5"
+Obsoletes: php8.4-pecl-redis6 < %{version}-%{release}
+Obsoletes: php8.5-pecl-redis6 < %{version}-%{release}
+Provides: php8.5-pecl-redis6 = %{version}-%{release}
+Provides: php8.5-pecl-redis6%{?_isa} = %{version}-%{release}
+%elif "%{php_version}" >= "8.4"
+Obsoletes: php8.4-pecl-redis6 < %{version}-%{release}
+Provides: php8.4-pecl-redis6 = %{version}-%{release}
+Provides: php8.4-pecl-redis6%{?_isa} = %{version}-%{release}
+%endif
+%endif
+
%description
This extension provides an API for communicating with RESP-based key-value
@@ -342,6 +358,9 @@ exit $ret
%changelog
+* Thu Sep 25 2025 Remi Collet <remi@remirepo.net> - 6.2.0-4
+- rebuild for PHP 8.5.0RC1
+
* Wed Jul 30 2025 Remi Collet <remi@remirepo.net> - 6.2.0-3
- add patch for PHP 8.5.0alpha3 from
https://github.com/phpredis/phpredis/pull/2677