[python-enum34/epel7] No, we don’t have python3 in RHEL-7 :'(

Matej Cepl mcepl at fedoraproject.org
Mon Jul 21 18:06:47 UTC 2014


commit 0280469bfdca59b048d5f5240f4e436abd74554a
Author: Matěj Cepl <mcepl at redhat.com>
Date:   Mon Jul 21 20:06:33 2014 +0200

    No, we don’t have python3 in RHEL-7 :'(

 python-enum34.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/python-enum34.spec b/python-enum34.spec
index 0c30877..a494b92 100644
--- a/python-enum34.spec
+++ b/python-enum34.spec
@@ -1,10 +1,10 @@
-%if 0%{?rhel} && 0%{?rhel} <= 6
+%if 0%{?rhel} && 0%{?rhel} <= 7
 %{!?__python2: %global __python2 /usr/bin/python2}
 %{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 %{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 %endif
 
-%if 0%{?fedora} > 12 || 0%{?rhel} > 6
+%if 0%{?fedora} > 12 || 0%{?rhel} > 7
 # Should not build for Python 3 for Fedora releases that provide
 # Python 3.4 (Fedora 22 or higher?).
 %global with_python3 1
@@ -108,6 +108,9 @@ rm -rf %{buildroot}%{python2_sitelib}/enum/{LICENSE,README,doc}
 %endif # with_python3
 
 %changelog
+* Mon Jul 21 2014 Matěj Cepl <mcepl at redhat.com> - 1.0-3
+- No, we don’t have python3 in RHEL-7 :'(
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list