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

[Git][lintian/lintian][master] Convert silent-on-rules-requiring-root to a classification hint



Title: GitLab

Louis-Philippe Véronneau pushed to branch master at lintian / lintian

Commits:

  • 58e338c2
    by Maytham Alsudany at 2025-03-28T16:42:36+00:00
    Convert silent-on-rules-requiring-root to a classification hint
    
    dpkg has switched the default of Rules-Requires-Root to no, so this
    warning is not required anymore.
    
    Closes: #1091912
    

3 changed files:

Changes:

  • t/recipes/tracking/generic-dh-make-2005/eval/hints
    ... ... @@ -4,7 +4,6 @@ generic-dh-make-2005 (source): trailing-whitespace [debian/rules:54]
    4 4
     generic-dh-make-2005 (source): trailing-whitespace [debian/rules:49]
    
    5 5
     generic-dh-make-2005 (source): trailing-whitespace [debian/rules:32]
    
    6 6
     generic-dh-make-2005 (source): trailing-whitespace [debian/changelog:6]
    
    7
    -generic-dh-make-2005 (source): silent-on-rules-requiring-root [debian/control]
    
    8 7
     generic-dh-make-2005 (source): package-uses-deprecated-debhelper-compat-version 7
    
    9 8
     generic-dh-make-2005 (source): older-source-format 1.0
    
    10 9
     generic-dh-make-2005 (source): no-versioned-debhelper-prerequisite 7
    

  • t/recipes/tracking/generic-dh-make-2008/eval/hints
    ... ... @@ -5,7 +5,6 @@ generic-dh-make-2008 (source): trailing-whitespace [debian/rules:43]
    5 5
     generic-dh-make-2008 (source): trailing-whitespace [debian/rules:35]
    
    6 6
     generic-dh-make-2008 (source): trailing-whitespace [debian/rules:26]
    
    7 7
     generic-dh-make-2008 (source): superfluous-clutter-in-homepage <insert the upstream URL, if relevant>
    
    8
    -generic-dh-make-2008 (source): silent-on-rules-requiring-root [debian/control]
    
    9 8
     generic-dh-make-2008 (source): package-uses-deprecated-debhelper-compat-version 7
    
    10 9
     generic-dh-make-2008 (source): out-of-date-standards-version 3.7.3 (released 2007-12-03) (current is CURRENT)
    
    11 10
     generic-dh-make-2008 (source): older-source-format 1.0
    

  • tags/s/silent-on-rules-requiring-root.tag
    1 1
     Tag: silent-on-rules-requiring-root
    
    2
    -Severity: pedantic
    
    2
    +Severity: classification
    
    3 3
     Check: debian/control/field/rules-requires-root
    
    4 4
     Renamed-From:
    
    5 5
      rules-requires-root-missing
    
    6
    -Explanation: The field <code>Rules-Requires-Root</code> is missing from the file
    
    7
    - <code>debian/control</code>.
    
    8
    - .
    
    9
    - Over time, Debian has successively narrowed the steps for which elevated privileges
    
    10
    - are required. It speeds up the building of installation packages in the archive.
    
    11
    - Eventually, Debian will switch the default archive-wide behaviour to expedite the
    
    12
    - build process further.
    
    13
    - .
    
    14
    - Please declare explicitly that the sources do not require root privileges. You can
    
    15
    - use the setting  <code>Rules-Requires-Root: no</code> in the source stanza of
    
    16
    - <code>debian/control</code>, but please verify with <code>diffoscope(1)</code> that
    
    17
    - the installation packages produced are in fact identical.
    
    6
    +Explanation: The field <code>Rules-Requires-Root</code> is not declared in the
    
    7
    + file <code>debian/control</code>.
    
    18 8
     See-Also:
    
    19 9
      /usr/share/doc/dpkg/spec/rootless-builds.txt,
    
    20 10
      debian-policy 4.9.2,
    


  • Reply to: