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 874f8f901b0..dee070c8c7c 100755
--- a/extras/checkpatch.pl
+++ b/extras/checkpatch.pl
@@ -2083,6 +2083,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)$/);