From 8781620900bac22e721d6979b72503737c7ddbc7 Mon Sep 17 00:00:00 2001 From: Kaleb S KEITHLEY Date: Tue, 12 Apr 2016 14:48:56 -0400 Subject: 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 glusterfs.spec.in changes because of long lines Backport of > Change-Id: I5802175d729e0168eea879a2a61626b0b73d77c8 > BUG: 1326410 > http://review.gluster.org/13981 Change-Id: Ica0f54e63ec01056263a27bbcd4a10e469f67e42 BUG: 1326413 Signed-off-by: Kaleb S KEITHLEY Reviewed-on: http://review.gluster.org/13982 Smoke: Gluster Build System CentOS-regression: Gluster Build System NetBSD-regression: NetBSD Build System --- extras/checkpatch.pl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extras') diff --git a/extras/checkpatch.pl b/extras/checkpatch.pl index 5a4e018def9..14a3ae020a2 100755 --- a/extras/checkpatch.pl +++ b/extras/checkpatch.pl @@ -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 "glusterfs.spec.in"); # 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)$/); -- cgit