diff mbox series

[python,1/2] spec: Unconditionally build python2 on Fedora

Message ID 30af17f17e1a87bd371d99666fabc0611339148f.1562172034.git.crobinso@redhat.com
State New
Headers show
Series spec: fedora tweaks | expand

Commit Message

Cole Robinson July 3, 2019, 4:42 p.m. UTC
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>

---
 libvirt-python.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
diff mbox series

Patch

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