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:

- t/recipes/tracking/generic-dh-make-2005/eval/hints
- t/recipes/tracking/generic-dh-make-2008/eval/hints
- tags/s/silent-on-rules-requiring-root.tag


Changes:

=====================================
t/recipes/tracking/generic-dh-make-2005/eval/hints
=====================================
@@ -4,7 +4,6 @@ generic-dh-make-2005 (source): trailing-whitespace 
[debian/rules:54]
 generic-dh-make-2005 (source): trailing-whitespace [debian/rules:49]
 generic-dh-make-2005 (source): trailing-whitespace [debian/rules:32]
 generic-dh-make-2005 (source): trailing-whitespace [debian/changelog:6]
-generic-dh-make-2005 (source): silent-on-rules-requiring-root [debian/control]
 generic-dh-make-2005 (source): 
package-uses-deprecated-debhelper-compat-version 7
 generic-dh-make-2005 (source): older-source-format 1.0
 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]
 generic-dh-make-2008 (source): trailing-whitespace [debian/rules:35]
 generic-dh-make-2008 (source): trailing-whitespace [debian/rules:26]
 generic-dh-make-2008 (source): superfluous-clutter-in-homepage <insert the 
upstream URL, if relevant>
-generic-dh-make-2008 (source): silent-on-rules-requiring-root [debian/control]
 generic-dh-make-2008 (source): 
package-uses-deprecated-debhelper-compat-version 7
 generic-dh-make-2008 (source): out-of-date-standards-version 3.7.3 (released 
2007-12-03) (current is CURRENT)
 generic-dh-make-2008 (source): older-source-format 1.0


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



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/58e338c275958d545c4256b14d8ca535b57786bd

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/58e338c275958d545c4256b14d8ca535b57786bd
You're receiving this email because of your account on salsa.debian.org.


Reply via email to