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

[Git][lintian/lintian][warning-debian-compat-file] rework the uses-debhelper-compat-file tag message and add mention of breakage in dh14



Title: GitLab

Louis-Philippe Véronneau pushed to branch warning-debian-compat-file at lintian / lintian

Commits:

  • d977053f
    by Louis-Philippe Véronneau at 2025-09-04T14:24:30-04:00
    rework the uses-debhelper-compat-file tag message and add mention of breakage in dh14
    

1 changed file:

Changes:

  • tags/u/uses-debhelper-compat-file.tag
    1 1
     Tag: uses-debhelper-compat-file
    
    2 2
     Severity: warning
    
    3 3
     Check: debhelper
    
    4
    -Explanation: This package uses a <code>debian/compat</code> file to denote the
    
    5
    - required debhelper compatibility number.
    
    4
    +Explanation: This package declares its debhelper compatibility level with the
    
    5
    + <code>debian/compat</code> file.
    
    6 6
      .
    
    7
    - However, debhelper has replaced <code>debian/compat</code> with the
    
    8
    - <code>debhelper-compat</code> virtual package for most circumstances.
    
    7
    + The recommended way to do so is to use the virtual package
    
    8
    + <code>debhelper-compat</code> instead.
    
    9 9
      .
    
    10
    - Packages not using an experimental or beta compatibility level should
    
    11
    - Build-Depend on the <code>debhelper-compat</code> virtual package, for
    
    10
    + From debhelper 14 onward, using <code>debian/compat</code> will not work
    
    11
    + anymore.
    
    12
    + .
    
    13
    + As such, unless you need an experimental or beta compatibility level, please
    
    14
    + remove the <code>debian/compat</code> file and add the
    
    15
    + <code>debhelper-compat</code> virtual package to your Build-Depends, for
    
    12 16
      example:
    
    13 17
      .
    
    14 18
       Build-Depends: debhelper-compat (= 13)
    


  • Reply to: