From 9ff3fe494794635e76e1ddad912d433e673fafe5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 20 Nov 2024 10:12:40 +0100 Subject: [PATCH] ignore 1 ONLINE test Resolves: RHEL-66727 --- php-pecl-redis6.spec | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/php-pecl-redis6.spec b/php-pecl-redis6.spec index 0f3b610..836e1bd 100644 --- a/php-pecl-redis6.spec +++ b/php-pecl-redis6.spec @@ -1,6 +1,4 @@ -# RHEL spec file from -# -# Fedora spec file for php-pecl-redis6 +# RHEL/Fedora spec file for php-pecl-redis6 # without SCL compatibility from: # # remirepo spec file for php-pecl-redis6 @@ -17,9 +15,17 @@ %{!?__phpconfig: %global __phpconfig %{_bindir}/php-config} %bcond_without tests +%if 0%{?fedora} +# optional compressors/serializers enabled by default +%bcond_without igbinary +%bcond_without msgpack +%bcond_without liblzf +%else +# optional compressors/serializers disabled by default %bcond_with igbinary %bcond_with msgpack %bcond_with liblzf +%endif %if 0%{?fedora} >= 41 || 0%{?rhel} >= 10 %bcond_without valkey %else @@ -37,7 +43,7 @@ Summary: PHP extension for interfacing with key-value stores Name: php-pecl-redis6 Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist} +Release: 2%{?dist} License: PHP-3.01 URL: https://pecl.php.net/package/redis Source0: https://pecl.php.net/get/%{sources}.tgz @@ -232,6 +238,8 @@ done %if %{with tests} cd %{sources}/tests +: Ignore ONLINE test +sed -e 's/testConnectException/skipConnectException/' -i RedisTest.php : Launch redis server %if %{with valkey} @@ -285,6 +293,9 @@ exit $ret %changelog +* Wed Nov 20 2024 Remi Collet - 6.1.0-2 +- ignore 1 ONLINE test + * Tue Nov 19 2024 Remi Collet - 6.1.0-1 - RHEL build