Skip to content

Commit 9dc11ea

Browse files
nirscrobinso
authored andcommitted
spec: Build python2 package in fedora < 31
Since commit ee0cfbe (spec: Unconditionally build python2 on Fedora) python2-libvirt is not built on any Fedora version. Fix the spec to drop python2-libvirt on Fedora 31. Reviewed-by: Cole Robinson <[email protected]> Signed-off-by: Nir Soffer <[email protected]>
1 parent 17937cc commit 9dc11ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libvirt-python.spec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
%endif
1414

1515
%define _with_python2 1
16-
%if 0%{?fedora} || 0%{?rhel} > 7
16+
%if 0%{?fedora} > 30 || 0%{?rhel} > 7
1717
%define _with_python2 0
1818
%endif
1919

0 commit comments

Comments
 (0)