[skel] Fix rpm's .spec file skeleton
It's broken for new-style packages since it doesn't consider (even remove) python packages.
--- a/cubicweb/skeleton/DISTNAME.spec.tmpl Thu Feb 23 17:36:11 2017 +0100
+++ b/cubicweb/skeleton/DISTNAME.spec.tmpl Tue Feb 07 10:37:37 2017 +0100
@@ -35,13 +35,10 @@
%%install
%%{__python} setup.py --quiet install --no-compile --prefix=%%{_prefix} --root="$RPM_BUILD_ROOT"
-# remove generated .egg-info file
-rm -rf $RPM_BUILD_ROOT/usr/lib/python*
-
%%clean
rm -rf $RPM_BUILD_ROOT
%%files
%%defattr(-, root, root)
-%%{_prefix}/share/cubicweb/cubes/*
+%%{_python_sitelib}/*