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

Bug#933304: lintian: suggest switching from debian/compat to debhelper-compat



Package: lintian
Severity: wishlist

debhelper has replaced debian/compat with the debhelper-compat virtual
package for most circumstances. Many packages made the switch already.

https://manpages.debian.org/unstable/debhelper/debhelper.7.en.html#COMPATIBILITY_LEVELS

I would like a pedantic reminder from lintian to switch from the
debian/compat file to the debhelper-compat virtual package.

Please note that there are some circumstances in which lintian should
not complain about use of debian/compat:

   Note that debhelper does not provide debhelper-compat for
   experimental or beta compatibility levels; packages experimenting
   with those compatibility levels should use debian/compat or
   DH_COMPAT.

In addition, it would probably be correct to not emit this if the
debhelper build-dep allows versions before the debhelper version that
added this feature (11.1.5~alpha1) or for uploads to stretch-backports
or earlier suites (the feature is in debhelper in stretch-backports but
isn't available in stretch itself):

   debhelper (11.1.5~alpha1) experimental; urgency=medium

     ...
     * Dh_Lib: Add an experimental feature to determine the requested
       compat level from the Build-Depends field.

    -- Niels Thykier <niels@thykier.net>  Sat, 24 Feb 2018 16:01:31 +0000

   debhelper  | 9.20150101+deb8u2 | oldoldstable      | source, all
   debhelper  | 10.2.5            | oldstable         | source, all
   debhelper  | 12.1.1~bpo9+1     | stretch-backports | source, all
   debhelper  | 12.1.1            | stable            | source, all
   debhelper  | 12.2.3            | testing           | source, all
   debhelper  | 12.2.3            | unstable          | source, all

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: