[pkg] keep egg-info in rpm stable
authorSamuel Trégouët <samuel.tregouet@logilab.fr>
Fri, 01 Sep 2017 10:42:55 +0200
branchstable
changeset 166 7ddf2b909f05
parent 165 ba135b81d843
child 178 336aa0819b5c
[pkg] keep egg-info in rpm
cubicweb-keyword.spec
--- a/cubicweb-keyword.spec	Fri Jan 29 15:27:24 2016 +0100
+++ b/cubicweb-keyword.spec	Fri Sep 01 10:42:55 2017 +0200
@@ -36,9 +36,6 @@
 
 %install
 NO_SETUPTOOLS=1 %{__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
@@ -46,3 +43,4 @@
 %files
 %defattr(-, root, root)
 %{_prefix}/share/cubicweb*
+%{_python_sitelib}/*