https://bugzilla.redhat.com/show_bug.cgi?id=1416705
--- Comment #27 from MartinKG <mgansser(a)online.de> ---
(In reply to Robert-André Mauchin from comment #25)
- You didn't fix it as I recommended, you need to remove the
shebang, not
add executable bitsor change the shebang:
# E: wrong-script-interpreter
sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python3|g'
kivy/tools/kviewer.py
sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python3|g'
kivy/tools/pep8checker/pep8.py
sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python3|g'
kivy/tools/pep8checker/pre-commit.githook
# E: non-executable-script
chmod a+x kivy/tools/kviewer.py
chmod a+x kivy/tools/pep8checker/pep8.py
chmod a+x kivy/tools/pep8checker/pre-commit.githook
for lib in $(find -type f -name '*.py'); do
sed '1{\@^#!@d}' $lib > $lib.new &&
touch -r $lib $lib.new &&
mv $lib.new $lib
done
We don't care about pre-commit.githook
- I can't build the package:
DEBUG util.py:585: BUILDSTDERR: No matching package to install:
'google-roboto-mono-fonts'
DEBUG util.py:585: BUILDSTDERR: Not all dependencies satisfied
DEBUG util.py:585: BUILDSTDERR: Error: Some packages could not be found.
This package does not exist.
Actually it existed but it's now orphaned:
https://src.fedoraproject.org/rpms/google-roboto-mono-fonts I know this, i have
compiled the package locally on my computer.
the packages could't be installed due dependencies
[martin@f30 SPECS]$ sudo rpm -Uvh
/home/martin/rpmbuild/RPMS/x86_64/python3-kivy-1.11.0-3.fc30.x86_64.rpm
/home/martin/rpmbuild/RPMS/x86_64/python3-kivy-devel-1.11.0-3.fc30.x86_64.rpm
/home/martin/rpmbuild/RPMS/x86_64/python3-kivy-examples-1.11.0-3.fc30.x86_64.rpm
/home/martin/rpmbuild/RPMS/noarch/python3-kivy-doc-1.11.0-3.fc30.noarch.rpm
error: Failed dependencies:
python3.7dist(kivy-garden) >= 0.1.4 is needed by
python3-kivy-1.11.0-3.fc30.x86_64
I created a new spec file, rpmlint no longer reports a shebang issue.
SRPM URL:
https://martinkg.fedorapeople.org/Review/SPECS/python-kivy.spec
Spec URL:
https://martinkg.fedorapeople.org/Review/SRPMS/python-kivy-1.11.0-3.fc30....
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component