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

Bug#904886: lintian: Support "debhelper-compat (= X)" B-D as replacement for "debhelper (>= X~)"



Chris Lamb:
> tags 904886 + pending
> thanks
> 
> Fixed in Git, pending upload:
> 
>   https://salsa.debian.org/lintian/lintian/commit/f61be381930e8087b2d00cf85687b51eecc7d5ec
> 
>   checks/debhelper.desc                              | 34 ++++++++++++++++++++--
>   checks/debhelper.pm                                | 31 ++++++++++++++++----
>   debian/changelog                                   |  3 ++
>   .../debian/debian/control.in                       | 16 ++++++++++
>   .../desc                                           |  7 +++++
>   .../pre_build                                      |  5 ++++
>   .../tags                                           |  1 +
>   .../debian/debian/control.in                       | 16 ++++++++++
>   .../debhelper-compat-virtual-relation-both/desc    |  7 +++++
>   .../pre_build                                      |  5 ++++
>   .../debhelper-compat-virtual-relation-both/tags    |  0
>   .../debian/debian/control.in                       | 16 ++++++++++
>   t/tests/debhelper-compat-virtual-relation/desc     | 12 ++++++++
>   .../debhelper-compat-virtual-relation/pre_build    |  5 ++++
>   t/tests/debhelper-compat-virtual-relation/tags     |  2 ++
>   15 files changed, 151 insertions(+), 9 deletions(-)
> 
> 
> Regards,
> 

Thanks for implementing this. :)


debhelper-and-debhelper-compat-virtual-relation-with-unsupported-version
might be better worded as
"debhelper-build-dependency-implied-by-debhelper-compat-relation" and E
might too high for this.  There is not much harm in having the redundant
build-dependency.

On a related note, the text for that tag saying  "However, this requires
a debhelper 11.3.6 or later." is incorrect.  Having debhelper-compat (=
X) implies debhelper (>= 11.3.6~) - i.e. you can rely on any feature in
debhelper up and including version 11.3.6~ without an explicit versioned
relation on debhelper (but I am fine with lintian not keeping track of
that).

Thanks,
~Niels


Reply to: