[pypolicyd-spf] Revert "Remove EL5 stuff - this cannot be supported."
bojan
bojan at fedoraproject.org
Mon Aug 12 03:36:11 UTC 2013
commit 3be9d46be09351da10abd05180bb626c7358115f
Author: Bojan Smojver <bojan at rexursive.com>
Date: Mon Aug 12 13:35:55 2013 +1000
Revert "Remove EL5 stuff - this cannot be supported."
This reverts commit 73ed889bf3e88903bba0995cf8048d69d00c7f4a.
pypolicyd-spf.spec | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/pypolicyd-spf.spec b/pypolicyd-spf.spec
index e545adb..3e18489 100644
--- a/pypolicyd-spf.spec
+++ b/pypolicyd-spf.spec
@@ -1,3 +1,8 @@
+%if 0%{?rhel} && 0%{?rhel} <= 5
+%{!?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
+
Name: pypolicyd-spf
Version: 1.2
Release: 3%{?dist}
More information about the scm-commits
mailing list