Commit 1cf016a4 authored by Adrien Di Mascio's avatar Adrien Di Mascio
Browse files

[pkg] don't remove .egg-info files in RPM package

otherwise new-style cube won't be able to find the resource
parent d095164fd044
......@@ -34,8 +34,6 @@ find . -name '*.py' -type f -print0 | xargs -0 sed -i '1,3s;^#!.*python.*$;#! /
%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
......@@ -44,3 +42,4 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%{_prefix}/share/cubicweb*
%{_prefix}/lib/python*
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