Fix non-ghost-in-run filter in config
The non-ghost-in-var-(lock|run) identifiers were merged and renamed to non-ghost-in-run in rpmlint-1.8¹. Update the config to properly filter this warning. ¹ https://github.com/rpm-software-management/rpmlint/commit/2d56865
This commit is contained in:
parent
6da2389eba
commit
71aa39eda1
@ -415,10 +415,9 @@ addFilter("no-%clean-section")
|
||||
# Only EL4 needs the files-attr-not-set check, because rpm 4.4 and newer no longer need a %defattr line
|
||||
# (it automatically provides one).
|
||||
addFilter("files-attr-not-set")
|
||||
# Don't bother with the non-ghost-in-var-(lock|run) checks on Fedora 15 or newer
|
||||
# since they have tmpfs /var/lock and /var/run.
|
||||
addFilter("non-ghost-in-var-lock")
|
||||
addFilter("non-ghost-in-var-run")
|
||||
# Don't bother with the non-ghost-in-run checks, /var/lock and /var/run are
|
||||
# symlinks to /run/lock and /run respectively, and /run is a tmpfs
|
||||
addFilter("non-ghost-in-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(r"script-without-shebang .*\.desktop$")
|
||||
|
@ -145,6 +145,7 @@ make check PYTHON=%{python} PYTEST=%{pytest} FLAKE8=%{flake8}
|
||||
- Fix mixed-use-of-spaces-and-tabs warning (in this spec file)
|
||||
- Remove el4/el5 configs and /usr/bin symlinks
|
||||
- Disable automatic compilation of Python files in /usr/share/rpmlint
|
||||
- Fix non-ghost-in-run filter in config
|
||||
|
||||
* Tue Jun 12 2018 Miro Hrončok <mhroncok@redhat.com> - 1.10-14
|
||||
- apply upstream fix for python 3.7 new magic numbers
|
||||
|
Loading…
Reference in New Issue
Block a user