1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-07-30 23:41:52 +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:
Nir Soffer
2019-09-02 18:47:24 +03:00
committed by Cole Robinson
parent 17937cc337
commit 9dc11ea157

View File

@ -13,7 +13,7 @@
%endif
%define _with_python2 1
%if 0%{?fedora} || 0%{?rhel} > 7
%if 0%{?fedora} > 30 || 0%{?rhel} > 7
%define _with_python2 0
%endif