forked from ClusterLabs/pacemaker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rpmlintrc
47 lines (34 loc) · 1.6 KB
/
rpmlintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
addFilter("E: non-standard-dir-perm .* 07.0")
addFilter("W: shared-lib-calls-exit")
# Really, really do not care
addFilter("spelling-error")
addFilter("mixed-use-of-spaces-and-tabs")
# Mandated location for OCF directory
addFilter("W: only-non-binary-in-usr-lib")
addFilter("E: hardcoded-library-path in /usr/lib/ocf")
# Common location used to guess systemd presence
addFilter("E: hardcoded-library-path in /usr/lib/os-release")
# It's there but rpmlint can't find it for some reason
addFilter("no-status-entry /etc/rc.d/init.d/")
# We don't want the cluster to start by default
addFilter("no-chkconfig-line /etc/rc.d/init.d/")
# Not interested in lock files
addFilter("subsys-not-used /etc/rc.d/init.d/")
# When building developer packages
addFilter("W: invalid-url Source0:")
addFilter("W: unstripped-binary-or-object")
addFilter("W: hidden-file-or-dir /var/lib/pacemaker/gcov")
# Build artifacts
addFilter("E: changelog-time-in-future")
addFilter("pacemaker.src: W: strange-permission .* 0600")
addFilter("enchant-dictionary-not-found en_US")
# rpmlint doesn't like logrotate script being in pacemaker-cli package
addFilter("E: incoherent-logrotate-file /etc/logrotate.d/pacemaker")
# buildbot builds the not-yet-released version
addFilter("W: incoherent-version-in-changelog")
# pacemaker_remote scriptlets use a state file
addFilter("W: dangerous-command-in-%(pre|postun|posttrans) rm")
# We should really use "pacemaker-remote", but we don't
addFilter("W: incoherent-init-script-name pacemaker_remote")
# Some scriptlets have code for systemd systems only
addFilter("W: empty-%(post|pre|preun|postun|posttrans)")