summaryrefslogtreecommitdiffstats
path: root/rpm/rpmlintrc
blob: 9104182230d79649dff6ffa64416ce31921de265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Mandated location for OCF directory
addFilter("E: hardcoded-library-path in %{_prefix}/lib/ocf")

# Common location used to guess systemd presence
addFilter("E: hardcoded-library-path in /usr/lib/os-release")

# When building developer packages
addFilter("W: invalid-url Source0:")
addFilter("W: unstripped-binary-or-object")
addFilter("W: incoherent-version-in-changelog")
addFilter("E: changelog-time-in-future")

# rpmlint doesn't like logrotate script being in pacemaker-cli package
addFilter("E: incoherent-logrotate-file /etc/logrotate.d/pacemaker")

# 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)")