# HG changeset patch # User Adrien Di Mascio <Adrien.DiMascio@logilab.fr> # Date 1513871552 -3600 # Thu Dec 21 16:52:32 2017 +0100 # Node ID 7db058f4d66eda9ff75cc2a9371ca94b6b7b0ca6 # Parent 28a3d3e5627eeb59adc0a10ea7f056a6bb5f28cd [pkg] keep egg-info directory so that pkg_resources can find the package when using a new-style cube diff --git a/cubicweb-squareui.spec b/cubicweb-squareui.spec --- a/cubicweb-squareui.spec +++ b/cubicweb-squareui.spec @@ -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*