Fix couple of rpmlint issues
This commit is contained in:
parent
dbcd0a111b
commit
9d511ca1c9
@ -144,11 +144,13 @@ execute the software that requires pkg_resources.py.
|
|||||||
# otherwise setuptools are installed as dependency into buildroot
|
# otherwise setuptools are installed as dependency into buildroot
|
||||||
|
|
||||||
# Strip shbang
|
# Strip shbang
|
||||||
find setuptools -name \*.py | xargs sed -i -e '1 {/^#!\//d}'
|
find setuptools pkg_resources -name \*.py | xargs sed -i -e '1 {/^#!\//d}'
|
||||||
# Remove bundled exes
|
# Remove bundled exes
|
||||||
rm -f setuptools/*.exe
|
rm -f setuptools/*.exe
|
||||||
# These tests require internet connection
|
# These tests require internet connection
|
||||||
rm setuptools/tests/test_integration.py
|
rm setuptools/tests/test_integration.py
|
||||||
|
# Spurious executable perm https://github.com/pypa/setuptools/pull/1441
|
||||||
|
chmod -x README.rst
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
|
Loading…
Reference in New Issue
Block a user