[PATCH 1/6] syntax-check: Remove check for proper spelling of 'Red Hat'

Peter Krempa pkrempa at redhat.com
Wed Mar 31 09:34:24 UTC 2021


Don't single out this one, and also don't waste computational resources
on it.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 build-aux/syntax-check.mk | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk
index 51a498a897..1dac418008 100644
--- a/build-aux/syntax-check.mk
+++ b/build-aux/syntax-check.mk
@@ -793,18 +793,6 @@ sc_prohibit_long_lines:
 	halt='Wrap long lines in expected output files' \
 	  $(_sc_search_regexp)

-sc_copyright_format:
-	@require='Copyright .*Red 'Hat', Inc\.' \
-	containing='Copyright .*Red 'Hat \
-	halt='Red Hat copyright is missing Inc.' \
-	  $(_sc_search_regexp)
-	@prohibit='Copyright [^(].*Red 'Hat \
-	halt='consistently use (C) in Red Hat copyright' \
-	  $(_sc_search_regexp)
-	@prohibit='\<RedHat\>' \
-	halt='spell Red Hat as two words' \
-	  $(_sc_search_regexp)
-
 # Prefer the new URL listing over the old street address listing when
 # calling out where to get a copy of the [L]GPL.  Also, while we have
 # to ship COPYING (GPL) alongside COPYING.LESSER (LGPL), we want any
@@ -1878,9 +1866,6 @@ exclude_file_name_regexp--sc_bindtextdomain = .*

 exclude_file_name_regexp--sc_gettext_init = ^((tests|examples)/|tools/virt-login-shell.c|src/util/vireventglib\.c)

-exclude_file_name_regexp--sc_copyright_format = \
-	^build-aux/syntax-check\.mk$$
-
 exclude_file_name_regexp--sc_copyright_usage = \
   ^COPYING(|\.LESSER)|build-aux/syntax-check.mk$$

-- 
2.29.2




More information about the libvir-list mailing list