ignore 1 ONLINE test

Resolves: RHEL-66727
This commit is contained in:
Remi Collet 2024-11-20 10:12:40 +01:00
parent a7b50e0ab3
commit 9ff3fe4947

View File

@ -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 <rcollet@redhat.com> - 6.1.0-2
- ignore 1 ONLINE test
* Tue Nov 19 2024 Remi Collet <rcollet@redhat.com> - 6.1.0-1
- RHEL build