mirror of
https://github.com/weewx/weewx.git
synced 2026-04-20 17:46:58 -04:00
add ignores for rpmlint
This commit is contained in:
2
makefile
2
makefile
@@ -339,7 +339,7 @@ rpm-package-suse15:
|
||||
|
||||
# run rpmlint on the rpm package
|
||||
check-rpm:
|
||||
rpmlint $(DSTDIR)/$(RPMPKG)
|
||||
rpmlint -f pkg/rpmlint.$(RPMOS) $(DSTDIR)/$(RPMPKG)
|
||||
|
||||
check-redhat:
|
||||
make check-rpm RPMOS=el OSREL=9
|
||||
|
||||
14
pkg/rpmlint.el
Normal file
14
pkg/rpmlint.el
Normal file
@@ -0,0 +1,14 @@
|
||||
addFilter("summary-not-capitalized")
|
||||
addFilter("no-manual-page-for-binary weectl")
|
||||
addFilter("no-manual-page-for-binary weewxd")
|
||||
addFilter("non-standard-gid")
|
||||
addFilter("non-standard-uid")
|
||||
addFilter("dangerous-command-in-%pre cp")
|
||||
addFilter("dangerous-command-in-%post mv")
|
||||
addFilter("percent-in-%post")
|
||||
# the drivers have shebang with env
|
||||
addFilter("wrong-script-interpreter")
|
||||
# the driver scripts are not executable (then why have shebang?)
|
||||
addFilter("non-executable-script")
|
||||
# logwatch stuff belongs in /etc in case logwatch not installed
|
||||
addFilter("executable-marked-as-config-file /etc/weewx/logwatch/scripts/services/weewx")
|
||||
Reference in New Issue
Block a user