[pkg] Attempt to fix rhel6 build
authorJulien Cristau <julien.cristau@logilab.fr>
Fri, 12 Feb 2016 15:21:21 +0100
changeset 11111 606d4fea99f5
parent 11110 68477666401f
child 11112 d0d86803a804
[pkg] Attempt to fix rhel6 build I don't know what I'm doing, but this seems to work.
cubicweb.spec
--- a/cubicweb.spec	Fri Feb 12 15:19:59 2016 +0100
+++ b/cubicweb.spec	Fri Feb 12 15:21:21 2016 +0100
@@ -5,7 +5,7 @@
 %define python python
 %define __python /usr/bin/python
 %endif
-%{!?_python_sitelib: %define _python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:           cubicweb
 Version:        3.22.1
@@ -58,6 +58,6 @@
 %files 
 %defattr(-, root, root)
 %dir /var/log/cubicweb
-%{_prefix}/share/cubicweb/*
-%{_python_sitelib}/*
-%{_bindir}/*
+%{_prefix}/share/cubicweb
+%{python_sitelib}
+%{_bindir}