]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
syntax-check: do not enforce ChangeLog syntax
authorJán Tomko <jtomko@redhat.com>
Tue, 11 Feb 2020 00:07:57 +0000 (01:07 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 11 Feb 2020 10:48:07 +0000 (11:48 +0100)
Our last conforming ChangeLog was removed from git in 2009 by:
commit 27b175b9a254d5dc4bbc1d6f198f58b287e516a2
    generate ChangeLog from git logs into distribution tarball

Ten years later, it reappeared in:
commit ce97c33a795dec053f1e85c65ecd924b8c6ec4ba
    maint: Stop generating ChangeLog from git
which does not have a single line complying to this syntax
check rule.

At some point between the two commits VC_LIST_EXCEPT gained
a default exception for ChangeLog and it did not seem to be
overriden anywhere.

Just remove the rule.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
build-aux/syntax-check.mk

index 5886b82003e9e6b2c1bd26e7556db3a2d96bae86..80420eada544a137f486d5ecdc71b2cee4ddef4b 100644 (file)
@@ -1616,13 +1616,6 @@ sc_prohibit_dirent_without_use:
 sc_prohibit_xfreopen_without_use:
        @h='xfreopen.h' re='\<xfreopen *\(' $(_sc_header_without_use)
 
-# Each nonempty ChangeLog line must start with a year number, or a TAB.
-sc_changelog:
-       @prohibit='^[^12        ]'                                      \
-       in_vc_files='^ChangeLog$$'                                      \
-       halt='found unexpected prefix in a ChangeLog'                   \
-         $(_sc_search_regexp)
-
 # Ensure that each .c file containing a "main" function also
 # calls bindtextdomain.
 sc_bindtextdomain: