Package: lintian
Version: 2.5.22
Severity: normal

Hi,

we changed the profile name "notest" to "nocheck" because Debian policy defines
the value "nocheck" for DEB_BUILD_OPTIONS. It is thus only logical to call the
profile the same name to avoid confusion. The following diff implements the
necessary change:

diff --git a/checks/fields.desc b/checks/fields.desc
index 552d0e4..b427ca0 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -656,7 +656,7 @@ Tag: invalid-restriction-label-in-source-relation
 Severity: important
 Certainty: possible
 Info: The restriction list in the source relation includes a term with
- an unknown label. The only allowed labels are "stage1", "stage2", "notest"
+ an unknown label. The only allowed labels are "stage1", "stage2", "nocheck"
  and "cross".
 
 Tag: restriction-list-without-versioned-dpkg-dev-dependency
diff --git a/checks/fields.pm b/checks/fields.pm
index 0619349..3ec9a53 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -1297,8 +1297,8 @@ sub run {
     return;
 }
 
-# splits "foo:bar (>= 1.2.3) [!i386 ia64] <!profile.stage1 !profile.notest>" 
into
-# ( "foo", "bar", [ ">=", "1.2.3" ], [ [ "i386", "ia64" ], 1 ], [ 
"!profile.stage1" "!profile.notest" ], "" )
+# splits "foo:bar (>= 1.2.3) [!i386 ia64] <!profile.stage1 !profile.nocheck>" 
into
+# ( "foo", "bar", [ ">=", "1.2.3" ], [ [ "i386", "ia64" ], 1 ], [ 
"!profile.stage1" "!profile.nocheck" ], "" )
 #                                                         ^^^                  
                          ^^
 #                     count of negated arches, if ! was given                  
                          ||
 #                                                           rest (should 
always be "" for valid dependencies)
diff --git a/data/fields/dependency-restrictions 
b/data/fields/dependency-restrictions
index 270be3c..f107b0c 100644
--- a/data/fields/dependency-restrictions
+++ b/data/fields/dependency-restrictions
@@ -1,4 +1,4 @@
-profile.notest
+profile.nocheck
 profile.stage1
 profile.stage2
 profile.cross


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to