summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
Diffstat (limited to 'extras')
-rwxr-xr-xextras/checkpatch.pl2
1 files changed, 2 insertions, 0 deletions
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)$/);