[python-jsonrpclib/el6] Added missing python2_version macro for el6.
Ihar Hrachyshka
ihrachyshka at fedoraproject.org
Fri Dec 5 12:28:08 UTC 2014
commit c98520d73a04a9896d363f59dc51e00bbf03a76a
Author: Ihar Hrachyshka <ihrachys at redhat.com>
Date: Fri Dec 5 13:28:10 2014 +0100
Added missing python2_version macro for el6.
python-jsonrpclib.spec | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/python-jsonrpclib.spec b/python-jsonrpclib.spec
index fd8cc3d..846e4e9 100644
--- a/python-jsonrpclib.spec
+++ b/python-jsonrpclib.spec
@@ -1,5 +1,6 @@
%if 0%{?rhel} && 0%{?rhel} <= 6
%{!?__python2: %global __python2 /usr/bin/python2}
+%{!?python2_version: %global python2_version %{python_version}}
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%endif
More information about the scm-commits
mailing list