Skip to content

Commit 9e6617d

Browse files
authored
spec: Disable python2 on SLES15sp4 and newer (#490)
1 parent ec14536 commit 9e6617d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clustershell.spec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
%{!?__python3: %global __python3 python3}
2222
%{!?python3_shortver: %global python3_shortver %(%{__python3} -c 'import sys; print(str(sys.version_info.major) + "." + str(sys.version_info.minor))')}
2323

24-
%if 0%{?rhel} < 8 && 0%{?suse_version} <= 1500
24+
%if 0%{?rhel} < 8 && 0%{?sle_version} < 150400
2525
%define py2 1
2626
%endif
2727

0 commit comments

Comments
 (0)