[qbzr] Conditionally define both python_sitelib and python_sitearch, since the installed files are moved to
Michel Alexandre Salim
salimma at fedoraproject.org
Thu Apr 7 17:16:27 UTC 2011
commit 6bd8ad9ea3d90fba820119df3bd8afdccc94f145
Author: Michel Alexandre Salim <michel.salim at cs.fau.de>
Date: Thu Apr 7 19:16:58 2011 +0200
Conditionally define both python_sitelib and python_sitearch,
since the installed files are moved to the latter
qbzr.spec | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/qbzr.spec b/qbzr.spec
index 9064dec..dc560d4 100644
--- a/qbzr.spec
+++ b/qbzr.spec
@@ -1,6 +1,5 @@
-%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
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
Name: qbzr
Version: 0.20.0
More information about the scm-commits
mailing list