Skip to content

Commit 4071d5d

Browse files
authored
Merge pull request #9204 from jackyalbo/jacky-nc-fix
NC | Update noobaa.spec python requirement in order to support RHEL 10
2 parents 6e47715 + f65d328 commit 4071d5d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/deploy/RPM_build/noobaa.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,18 @@ URL: https://www.noobaa.io/
2626
Source0: %{noobaatar}
2727

2828
BuildRequires: systemd
29-
BuildRequires: python3.9
3029
BuildRequires: make
3130
BuildRequires: gcc-c++
3231
BuildRequires: boost-devel
3332
BuildRequires: libcap-devel
3433
%if 0%{?rhel} == 8
3534
BuildRequires: gcc-toolset-11
3635
%endif
36+
%if 0%{?rhel} > 8
37+
BuildRequires: python3 # We can use default version in RHEL 9+
38+
%else
39+
BuildRequires: python3.9 # We need at least 3.9 in RHEL 8
40+
%endif
3741

3842
Recommends: jemalloc
3943

0 commit comments

Comments
 (0)