You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multiple files contained in the source tree have their executable bits set which triggers warnings when building an RPM package:
[ 195s] RPMLINT report:
[ 195s] ===============
[ 197s] python2-uamqp.x86_64: W: script-without-shebang /usr/lib64/python2.7/site-packages/uamqp-1.1.0-py2.7.egg-info/PKG-INFO
[ 197s] python2-uamqp.x86_64: W: script-without-shebang /usr/lib64/python2.7/site-packages/uamqp-1.1.0-py2.7.egg-info/SOURCES.txt
[ 197s] python2-uamqp.x86_64: W: script-without-shebang /usr/lib64/python2.7/site-packages/uamqp-1.1.0-py2.7.egg-info/dependency_links.txt
[ 197s] python2-uamqp.x86_64: W: script-without-shebang /usr/lib64/python2.7/site-packages/uamqp-1.1.0-py2.7.egg-info/not-zip-safe
[ 197s] python2-uamqp.x86_64: W: script-without-shebang /usr/lib64/python2.7/site-packages/uamqp-1.1.0-py2.7.egg-info/requires.txt
[ 197s] python2-uamqp.x86_64: W: script-without-shebang /usr/lib64/python2.7/site-packages/uamqp-1.1.0-py2.7.egg-info/top_level.txt
[ 197s] python3-uamqp.x86_64: W: script-without-shebang /usr/lib64/python3.7/site-packages/uamqp-1.1.0-py3.7.egg-info/PKG-INFO
[ 197s] python3-uamqp.x86_64: W: script-without-shebang /usr/lib64/python3.7/site-packages/uamqp-1.1.0-py3.7.egg-info/SOURCES.txt
[ 197s] python3-uamqp.x86_64: W: script-without-shebang /usr/lib64/python3.7/site-packages/uamqp-1.1.0-py3.7.egg-info/dependency_links.txt
[ 197s] python3-uamqp.x86_64: W: script-without-shebang /usr/lib64/python3.7/site-packages/uamqp-1.1.0-py3.7.egg-info/not-zip-safe
[ 197s] python3-uamqp.x86_64: W: script-without-shebang /usr/lib64/python3.7/site-packages/uamqp-1.1.0-py3.7.egg-info/requires.txt
[ 197s] python3-uamqp.x86_64: W: script-without-shebang /usr/lib64/python3.7/site-packages/uamqp-1.1.0-py3.7.egg-info/top_level.txt
[ 197s] This text file has executable bits set or is located in a path dedicated for
[ 197s] executables, but lacks a shebang and cannot thus be executed. If the file is
[ 197s] meant to be an executable script, add the shebang, otherwise remove the
[ 197s] executable bits or move the file elsewhere.
and
[ 197s] python2-uamqp.x86_64: E: spurious-executable-perm (Badness: 50) /usr/lib64/python2.7/site-packages/uamqp/c_uamqp.c
[ 197s] python3-uamqp.x86_64: E: spurious-executable-perm (Badness: 50) /usr/lib64/python3.7/site-packages/uamqp/c_uamqp.c
[ 197s] python2-uamqp.x86_64: E: spurious-executable-perm (Badness: 50) /usr/share/doc/packages/python2-uamqp/README.rst
[ 197s] python3-uamqp.x86_64: E: spurious-executable-perm (Badness: 50) /usr/share/doc/packages/python3-uamqp/README.rst
[ 197s] The file is installed with executable permissions, but was identified as one
[ 197s] that probably should not be executable. Verify if the executable bits are
[ 197s] desired, and remove if not. NOTE: example scripts should be packaged under
[ 197s] %docdir/examples, which will avoid this warning.
To fix this, just unset the executable bits using chmod ugo-x $FILES. Luckily, git is able to track file permissions.
The text was updated successfully, but these errors were encountered:
Multiple files contained in the source tree have their executable bits set which triggers warnings when building an RPM package:
and
To fix this, just unset the executable bits using
chmod ugo-x $FILES
. Luckily,git
is able to track file permissions.The text was updated successfully, but these errors were encountered: