Skip to content

Commit 7e0e359

Browse files
authored
Merge pull request #2029 from larsewi/openssl
ENT-13496: Use SYSTEM_SSL variable instead of hardcoded RHEL version check
2 parents e97e00d + 6b87a07 commit 7e0e359

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packaging/cfengine-nova/cfengine-nova.spec.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Recommends: gzip
2323
Requires: selinux-policy >= @@SELINUX_POLICY_VERSION@@
2424
%endif
2525

26-
# we don't bundle OpenSSL on RHEL 8 (and newer in the future)
27-
%if %{?rhel}%{!?rhel:0} == 8
26+
# We don't bundle OpenSSL on RHEL >= 8 and SuSE >= 15
27+
%if 0%{?SYSTEM_SSL}
2828
Requires: libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libssl.so.1.1(OPENSSL_1_1_1)(64bit)
2929
Requires: libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)
3030
%endif

0 commit comments

Comments
 (0)