Commit 7a616d7f authored by Samuel Trégouët's avatar Samuel Trégouët
Browse files

[pkg] keep egg-info in rpm

parent c1ba87664340
...@@ -35,9 +35,6 @@ find . -name '*.py' -type f -print0 | xargs -0 sed -i '1,3s;^#!.*python.*$;#! / ...@@ -35,9 +35,6 @@ find . -name '*.py' -type f -print0 | xargs -0 sed -i '1,3s;^#!.*python.*$;#! /
%install %install
NO_SETUPTOOLS=1 %{__python} --quiet install --no-compile --prefix=%{_prefix} --root="$RPM_BUILD_ROOT" NO_SETUPTOOLS=1 %{__python} --quiet install --no-compile --prefix=%{_prefix} --root="$RPM_BUILD_ROOT"
# remove generated .egg-info file
rm -rf $RPM_BUILD_ROOT/usr/lib/python*
%clean %clean
...@@ -45,3 +42,4 @@ rm -rf $RPM_BUILD_ROOT ...@@ -45,3 +42,4 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%{_prefix}/share/cubicweb* %{_prefix}/share/cubicweb*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment