Skip to content

Commit 77676a5

Browse files
author
Pavel Siska
committed
pycommon - rename redis to valkey for rhel10
1 parent 66562ae commit 77676a5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pycommon/nemea-pycommon.spec

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ Requires: python%{python3_pkgversion}-jinja2
3535
Requires: python%{python3_pkgversion}-ply
3636
Requires: python%{python3_pkgversion}-yaml
3737
Requires: python%{python3_pkgversion}-redis
38+
%if 0%{?rhel} <= 9
3839
Requires: redis
40+
%else
41+
Requires: valkey
42+
%endif
3943
BuildRequires: python%{python3_pkgversion}-ply
4044
BuildRequires: python%{python3_pkgversion}-jinja2
4145
BuildRequires: python%{python3_pkgversion}-yaml
@@ -44,7 +48,11 @@ BuildRequires: python%{python3_pkgversion}-devel
4448
BuildRequires: python%{python3_pkgversion}-nemea-pytrap
4549
BuildRequires: python%{python3_pkgversion}-pynspect
4650
BuildRequires: python%{python3_pkgversion}-redis
51+
%if 0%{?rhel} <= 9
4752
BuildRequires: redis
53+
%else
54+
BuildRequires: valkey
55+
%endif
4856

4957
%description -n python%{python3_pkgversion}-%{pypi_name}
5058
The module contains methods for creation and submission of incident reports in IDEA format.

0 commit comments

Comments
 (0)