Skip to content

Commit fbba3b1

Browse files
committed
Build: minor tweaks to make buildbot happy
Don't use % macro in specfile comments, header files shouldn't be executable, and add rpmlint exception for systemd detection heuristic.
1 parent 2ba51c2 commit fbba3b1

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

lib/ais/plugin.h

100755100644
File mode changed.

pacemaker.spec.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@
7979

8080
# Definitions for backward compatibility with older RPM versions
8181

82-
## Ensure %license macro behaves consistently (older RPM will otherwise
83-
## overwrite %license once it encounters "License:"). Courtesy Jason Tibbitts:
82+
## Ensure the license macro behaves consistently (older RPM will otherwise
83+
## overwrite it once it encounters "License:"). Courtesy Jason Tibbitts:
8484
## https://pkgs.fedoraproject.org/cgit/rpms/epel-rpm-macros.git/tree/macros.zzz-epel?h=el6&id=e1adcb77
8585
%if !%{defined _licensedir}
8686
%define description %{lua:

rpmlintrc

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ addFilter("mixed-use-of-spaces-and-tabs")
99
addFilter("W: only-non-binary-in-usr-lib")
1010
addFilter("E: hardcoded-library-path in /usr/lib/ocf")
1111

12-
# Its there but rpmlint can't find it for some reason
12+
# Common location used to guess systemd presence
13+
addFilter("E: hardcoded-library-path in /usr/lib/os-release")
14+
15+
# It's there but rpmlint can't find it for some reason
1316
addFilter("no-status-entry /etc/rc.d/init.d/")
1417

1518
# We don't want the cluster to start by default

0 commit comments

Comments
 (0)