Skip to content

Commit

Permalink
Add comments mentioning no Python 3 (and thus cfbs) on RHEL 6
Browse files Browse the repository at this point in the history
  • Loading branch information
vpodzime committed Jan 30, 2024
1 parent 1d7115b commit bc3384b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Requires: libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcrypto
Requires: libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit)
%endif

# cfbs/Build requires Python 3.5+
# cfbs/Build requires Python 3.5+ (not available on RHEL 6)
%if %{?rhel}%{!?rhel:0} == 7
Requires: python3 >= 3.5
%endif
Expand Down Expand Up @@ -146,6 +146,7 @@ cp %{_basedir}/nova/db/ootb_import.sql $RPM_BUILD_ROOT%prefix/share/db/
mkdir -p $RPM_BUILD_ROOT/var/log/
touch $RPM_BUILD_ROOT/var/log/postgresql.log

# RHEL 6 doesn't have Python 3 so no cfbs there.
%if %{?rhel}%{!?rhel:0} >= 7
# Make sure cfbs is available and in place
mkdir -p $RPM_BUILD_ROOT/tmp/cfbs_root
Expand Down

0 comments on commit bc3384b

Please sign in to comment.