[lshell/el5] Readded sitelib stuff for el
Fabian Affolter
fab at fedoraproject.org
Mon Mar 19 12:11:12 UTC 2012
commit 990f9329c962c2436fbcdbb6510a487c89a6021e
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date: Mon Mar 19 13:10:50 2012 +0100
Readded sitelib stuff for el
lshell.spec | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/lshell.spec b/lshell.spec
index 21f49f3..93d2b1e 100644
--- a/lshell.spec
+++ b/lshell.spec
@@ -1,3 +1,7 @@
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%endif
+
Name: lshell
Version: 0.9.15.1
Release: 1%{?dist}
More information about the scm-commits
mailing list