mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-08-02 04:21:59 +03:00
spec: Build python2 package in fedora < 31
Since commit ee0cfbe65c
(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 <crobinso@redhat.com>
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
This commit is contained in:
committed by
Cole Robinson
parent
17937cc337
commit
9dc11ea157
@ -13,7 +13,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define _with_python2 1
|
%define _with_python2 1
|
||||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
%if 0%{?fedora} > 30 || 0%{?rhel} > 7
|
||||||
%define _with_python2 0
|
%define _with_python2 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user