d/xen-hypervisor-V-F.lintian-overrides.vsn-in: fix override
authorHans van Kranenburg <hans@knorrie.org>
Sun, 6 Sep 2020 23:48:48 +0000 (01:48 +0200)
committerHans van Kranenburg <hans@knorrie.org>
Fri, 18 Sep 2020 16:29:59 +0000 (18:29 +0200)
First of all, debug-package-should-be-named-dbg does not exist any more,
but debug-suffix-not-dbg does, change it.

Lintian complains:

    W: xen-hypervisor-4.14-amd64: debug-suffix-not-dbg usr/lib/debug/xen-4.14.0.efi.map.gz
    N:
    N:    This package provides at least one file in /usr/lib/debug, which is
    N:    intended for detached debugging symbols, but the package name does not
    N:    end in "-dbg". Detached debugging symbols should be put into a separate
    N:    package, Priority: extra, with a package name ending in "-dbg".
    N:
    N:    Refer to Debian Developer's Reference section 6.7.9 (Best practices for
    N:    debug packages) for details.
    N:
    N:    Severity: warning
    N:
    N:    Check: files/debug

...and also complains:

    W: xen-hypervisor-4.14-amd64: mismatched-override debug-suffix-not-dbg usr/lib/debug/xen-*-pre.efi.map.gz
    N:
    N:    The named tag could have been silenced but the context specified with
    N:    the override did not match.
    N:
    N:    Lintian may now provide a different context for the tag, or something
    N:    could have changed in a new version of your package. Either way,
    N:    overrides work best when you require only little context.
    N:
    N:    You can use wildcards, such as &ast; or &quest; in the context to makes
    N:    a match more likely.
    N:
    N:    Please remove or adjust the override, whichever suits your purpose.
    N:
    N:    Severity: warning
    N:
    N:    Check: lintian

So, secondly, fix this by dropping the -pre part which prevents it from
matching.

Signed-off-by: Hans van Kranenburg <hans@knorrie.org>
debian/xen-hypervisor-V-F.lintian-overrides.vsn-in

index ea065e1d926e16217fe55c5ccaf7f48b3a4f8c6b..b0362510cae628f65aa174f5c67a6c86f02aa6ab 100644 (file)
@@ -1,4 +1,4 @@
-debug-package-should-be-named-dbg usr/lib/debug/xen-*-pre.efi.map.gz
+debug-suffix-not-dbg usr/lib/debug/xen-*.efi.map.gz
 # ^ as is traditional for kernels too, we ship the debug information
 #   in the hypervisor package rather than creating yet another
 #   package just for this file, which is only 50K or so anyway.