diff -r 68477666401f -r 606d4fea99f5 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}