[python-nine] Require python-importlib on el6.
Ralph Bean
ralph at fedoraproject.org
Mon Jan 12 18:21:57 UTC 2015
commit 25e0b90e2ae4336b797d86d6f9aca526900570b1
Author: Ralph Bean <rbean at redhat.com>
Date: Mon Jan 12 13:22:03 2015 -0500
Require python-importlib on el6.
python-nine.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/python-nine.spec b/python-nine.spec
index 28a589a..9b1f992 100644
--- a/python-nine.spec
+++ b/python-nine.spec
@@ -14,7 +14,7 @@
Name: python-nine
Version: 0.3.4
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Python 2 / 3 compatibility, like six, but favouring Python 3
License: Public Domain
@@ -31,6 +31,11 @@ BuildRequires: python3-devel
BuildRequires: python3-setuptools
%endif
+%if 0%{?rhel} && 0%{?rhel} <= 6
+BuildRequires: python-importlib
+Requires: python-importlib
+%endif
+
%description
Let's write Python 3 right now!
@@ -122,6 +127,9 @@ popd
%endif
%changelog
+* Mon Jan 12 2015 Ralph Bean <rbean at redhat.com> - 0.3.4-3
+- Require python-importlib on el6.
+
* Sat Jan 10 2015 Ralph Bean <rbean at redhat.com> - 0.3.4-2
- Declare noarch.
- Remove unnecessary cflags.
More information about the scm-commits
mailing list