Skip to content
Snippets Groups Projects
Commit 7db058f4d66e authored by Adrien Di Mascio's avatar Adrien Di Mascio
Browse files

[pkg] keep egg-info directory

so that pkg_resources can find the package when using a new-style cube
parent 28a3d3e5627e
No related branches found
No related tags found
No related merge requests found
......@@ -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*
%{_prefix}/lib/python*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment