[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#890100: lintian: False-positive spelling-error-in-patch-description (duplicate word)



Package: lintian
Version: 2.5.73
Severity: minor

Hi,

I reviewed a package and got:

W: spectrwm source: spelling-error-in-patch-description debian/patches/D01-adapt-libswmhack.diff libswmhack libswmhack (duplicate word) libswmhack

The patch description is:

"""
Description: Adapt libswmhack
 libswmhack tries to dlopen() libX11.so and libXt.so, but on Debian those
 are symlinks shipped in the corresponding -dev package.
 .
 If dlopen() fails, try with the versioned library names, libX11.so.6 and
 libXt.so.6. This ensures libswmhack will work with just the runtime
 packages installed.
"""

The only possible "duplicate" I can see is "Adapt libswmhack" followed
by "libswmhack tries ...".  My assumption here is that many patches
are written like git patches, where the first line is the "email
subject" and the rest is the "body" (or, Debian terms, they have a
"Synopsis" and "long description" like the Description field in
d/control).  Therefore, I think this is a false-positive.

I suspect this concrete issue can be solved by spelling checking the
first line separately from the rest (reusing the tag name should be
fine).

Thanks,
~Niels


Reply to: