summaryrefslogtreecommitdiff
path: root/libvirt-python.spec.in
diff options
context:
space:
mode:
authorNir Soffer <nirsof@gmail.com>2019-09-02 18:47:24 +0300
committerCole Robinson <crobinso@redhat.com>2019-09-03 10:42:36 -0400
commit9dc11ea157f4cf26ce58af36ace8cbf706cd2098 (patch)
tree93fcba24b8ab7449a4600b5eba243a0b43674b50 /libvirt-python.spec.in
parent17937cc337b3697a3d46a9052b5836cd3d6b8a0f (diff)
downloadlibvirt-python-9dc11ea157f4cf26ce58af36ace8cbf706cd2098.tar.gz
spec: Build python2 package in fedora < 31
Since commit ee0cfbe65c5d (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>
Diffstat (limited to 'libvirt-python.spec.in')
-rw-r--r--libvirt-python.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt-python.spec.in b/libvirt-python.spec.in
index 64a30b5..8506840 100644
--- a/libvirt-python.spec.in
+++ b/libvirt-python.spec.in
@@ -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