cubicweb.spec
changeset 11094 13c9cd75f097
parent 11074 76d06973776e
child 11105 2a8884f3be3d
--- a/cubicweb.spec	Fri Feb 05 10:30:01 2016 +0100
+++ b/cubicweb.spec	Fri Feb 05 12:26:28 2016 +0100
@@ -5,6 +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()")}
 
 Name:           cubicweb
 Version:        3.22.0
@@ -57,5 +58,6 @@
 %files 
 %defattr(-, root, root)
 %dir /var/log/cubicweb
-/*
-
+%{_prefix}/share/cubicweb/*
+%{_python_sitelib}/*
+%{_bindir}/*