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

Bug#330025: lintian: bogus compat check



Luk Claes <luk@debian.org> writes:

> tags 330025 +patch
> thanks

> Hi

> Easy patch included for consideration.

Thanks!  At this point I'm tempted to take this, although I think that
CDBS still uses DH_COMPAT rather than a debian/compat file (but I'm not
positive, and regardless this sort of check wouldn't catch it).

However, in a quick check, I can't find any information that substantiates
the original reporter's assertion that it's deprecated.  The description
in debhelper's man page is:

       DH_COMPAT
           Temporarily specifies what compatibility level debhelper should run
           at, overriding any value in debian/compat.

which doesn't sound deprecated.  Maybe it's the "temporarily" that should
be read as implying that it shouldn't be used as a normal part of
debian/rules?

A warning about setting DH_COMPAT in debian/rules is going to catch a
*lot* of packages, so I want to be sure that it's really the right thing
to warn about before we do it.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: