[pypolicyd-spf] Define python to be version 2.6 under EL5.

bojan bojan at fedoraproject.org
Mon Aug 12 03:41:32 UTC 2013


commit 56777cb0040871658a8cc9169df458017d64cb9b
Author: Bojan Smojver <bojan at rexursive.com>
Date:   Mon Aug 12 13:41:10 2013 +1000

    Define python to be version 2.6 under EL5.

 pypolicyd-spf.spec |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pypolicyd-spf.spec b/pypolicyd-spf.spec
index 3e18489..361fcfa 100644
--- a/pypolicyd-spf.spec
+++ b/pypolicyd-spf.spec
@@ -1,4 +1,5 @@
 %if 0%{?rhel} && 0%{?rhel} <= 5
+%define __python /usr/bin/python2.6
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 %endif


More information about the scm-commits mailing list