Do not throw an error on desktop files set +x

This commit is contained in:
Tom Callaway 2011-12-15 14:25:38 -05:00
parent 8504c7c92b
commit 364c6fdefd
2 changed files with 8 additions and 1 deletions

View File

@ -367,6 +367,10 @@ addFilter("files-attr-not-set")
# since they have tmpfs /var/lock and /var/run. # since they have tmpfs /var/lock and /var/run.
addFilter("non-ghost-in-var-lock") addFilter("non-ghost-in-var-lock")
addFilter("non-ghost-in-var-run") addFilter("non-ghost-in-var-run")
# Someone thought it was a good idea to make .desktop files executable. They were wrong.
# Nevertheless, I do not yet control the universe, so we squelch the error here.
addFilter("script-without-shebang .*\.desktop$")
# https://bugzilla.redhat.com/496737, https://bugzilla.redhat.com/646455 # https://bugzilla.redhat.com/496737, https://bugzilla.redhat.com/646455
for pkg, exe in (("coreutils", "/bin/su"), for pkg, exe in (("coreutils", "/bin/su"),
("krb5-workstation", "/usr/kerberos/bin/ksu"), ("krb5-workstation", "/usr/kerberos/bin/ksu"),

View File

@ -1,6 +1,6 @@
Name: rpmlint Name: rpmlint
Version: 1.4 Version: 1.4
Release: 3%{?dist} Release: 4%{?dist}
Summary: Tool for checking common errors in RPM packages Summary: Tool for checking common errors in RPM packages
Group: Development/Tools Group: Development/Tools
@ -86,6 +86,9 @@ make check
%changelog %changelog
* Thu Dec 15 2011 Tom Callaway <spot@fedoraproject.org> - 1.4-4
- Do not throw an error on .desktop files set +x. (bz 767878)
* Mon Dec 5 2011 Tom Callaway <spot@fedoraproject.org> - 1.4-3 * Mon Dec 5 2011 Tom Callaway <spot@fedoraproject.org> - 1.4-3
- own %%{_datadir}/bash-completion/ (thanks Ville Skyttä) - own %%{_datadir}/bash-completion/ (thanks Ville Skyttä)