Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
rqlcontroller
Commits
d1c33da6b0a4
Commit
1cf016a4
authored
Dec 22, 2017
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
cubicweb-rqlcontroller.spec
View file @
d1c33da6
...
...
@@ -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*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment