summaryrefslogtreecommitdiff
path: root/libvirt-python.spec.in
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2019-07-03 12:36:31 -0400
committerCole Robinson <crobinso@redhat.com>2019-07-09 19:11:20 -0400
commitee0cfbe65c5da41dbc4fd9bbbcd6a986f86feba2 (patch)
treeebd06adffd99afcc01e31a7b84a57271f728aa29 /libvirt-python.spec.in
parented2e7e79e533e4a5967437177e327f81c6540584 (diff)
downloadlibvirt-python-ee0cfbe65c5da41dbc4fd9bbbcd6a986f86feba2.tar.gz
spec: Unconditionally build python2 on Fedora
In Fedora we are currently shipping python2 bindings for all builds, so this conditional is out of date. Fedora 31 may be the time that python2 bindings are dropped: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal But I think it's better to wait for that to actually happen before we change this again Signed-off-by: Cole Robinson <crobinso@redhat.com> Reviewed-by: Fabiano FidĂȘncio <fidencio@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 136c4ad..69d7555 100644
--- a/libvirt-python.spec.in
+++ b/libvirt-python.spec.in
@@ -13,7 +13,7 @@
%endif
%define _with_python2 1
-%if 0%{?fedora} > 29 || 0%{?rhel} > 7
+%if 0%{?fedora} || 0%{?rhel} > 7
%define _with_python2 0
%endif