path: root/extras/
diff options
authorKaleb S KEITHLEY <>2016-04-12 14:48:56 -0400
committerKaleb KEITHLEY <>2016-04-26 08:46:55 -0700
commit8781620900bac22e721d6979b72503737c7ddbc7 (patch)
treeb293cef331209fa1cc752bb5acfee3f99721d870 /extras/
parentaf0790eb32aebcf672c666b23e0cb49e2b1a9cd1 (diff)
packaging: additional dirs and files in /var/lib/glusterd/
Add the missing /var/lib/glusterd files and dirs found by downstream testing. Use a loop to create hook dirs instead of open-coding. Merge the %ghost and non-ghost dirs in -server %files section for easier maintenance. Eliminate a benign warning for enabling non-existent glusterfsd.{init,service} which is only relevant to Fedora koji builds Don't reject changes because of long lines Backport of > Change-Id: I5802175d729e0168eea879a2a61626b0b73d77c8 > BUG: 1326410 > Change-Id: Ica0f54e63ec01056263a27bbcd4a10e469f67e42 BUG: 1326413 Signed-off-by: Kaleb S KEITHLEY <> Reviewed-on: Smoke: Gluster Build System <> CentOS-regression: Gluster Build System <> NetBSD-regression: NetBSD Build System <>
Diffstat (limited to 'extras/')
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/ b/extras/
index 5a4e018def9..14a3ae020a2 100755
--- a/extras/
+++ b/extras/
@@ -2084,6 +2084,8 @@ sub process {
"Use of $flag is deprecated, please use \`$replacement->{$flag} instead.\n" . $herecurr) if ($replacement->{$flag});
+# check we are in .spec file, then ignore this hunk
+ next if ($realfile eq "");
# check we are in a valid source file if not then ignore this hunk
next if ($realfile !~ /\.(h|c|pl|py|l|y|sh|in)$/);