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

[lintian] 01/01: checks/fields: Demote tags for build-deps related to build profiles to pedantic



This is an automated email from the git hooks/post-receive script.

jwilk pushed a commit to branch master
in repository lintian.

commit 2e2eef760b1122983d9a3e30b58468e7c18a4ab7
Author: Jakub Wilk <jwilk@debian.org>
Date:   Fri Sep 30 19:11:04 2016 +0200

    checks/fields: Demote tags for build-deps related to build profiles to pedantic
    
    The required packages[*] are available in stable.
    
    [*] dpkg-dev (>= 1.17.14), debhelper (>= 9.20141010
---
 checks/fields.desc                         | 4 ++--
 debian/changelog                           | 3 +++
 t/tests/fields-build-profiles-general/desc | 1 +
 t/tests/fields-build-profiles-general/tags | 8 ++++----
 4 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/checks/fields.desc b/checks/fields.desc
index 263177b..36fd0fd 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -675,7 +675,7 @@ Info: The restriction formula in the source relation includes an unknown build
 Ref: https://wiki.debian.org/BuildProfileSpec#Registered_profile_names
 
 Tag: restriction-formula-without-versioned-dpkg-dev-dependency
-Severity: normal
+Severity: pedantic
 Certainty: certain
 Info: If a restriction formula appears in the source relation or if the
  Build-Profiles field is used in a binary package stanza then the source
@@ -683,7 +683,7 @@ Info: If a restriction formula appears in the source relation or if the
  restriction formula support.
 
 Tag: restriction-formula-with-debhelper-without-debhelper-version
-Severity: normal
+Severity: pedantic
 Certainty: certain
 Info: If a restriction formula appears in the build dependencies or if the
  Build-Profiles field is used in a binary package stanza and the package uses
diff --git a/debian/changelog b/debian/changelog
index 9f972d2..67af02b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,9 @@ lintian (2.5.48) UNRELEASED; urgency=low
     + [JW] Fix typo.
     + [JW] Add references to tags related to build profiles.
     + [JW] Add support for pkg.<srcpkg>.<anything> build profiles.
+    + [JW] Demote tags for build-depends related to build profiles to
+      pedantic, as the required packages are available in stable.
+      Thanks to Helmut Grohne for the bug report.  (Closes: #831633)
   * checks/testsuite.pm:
     + [JW] Apply patch from Sean Whitton to recognise autopkgtest-pkg-elpa
       as a valid value for the Testsuite field.  (Closes: #837801)
diff --git a/t/tests/fields-build-profiles-general/desc b/t/tests/fields-build-profiles-general/desc
index b11f4e1..0d6dbef 100644
--- a/t/tests/fields-build-profiles-general/desc
+++ b/t/tests/fields-build-profiles-general/desc
@@ -1,5 +1,6 @@
 Testname: fields-build-profiles-general
 Version: 1.0
+Options: --pedantic
 Description: General tests for build profiles
 # Build-profiles requires dpkg 1.17.14 and debhelper 9.20141010
 Test-Depends: dpkg (>= 1.17.14), debhelper (>= 9.20141010)
diff --git a/t/tests/fields-build-profiles-general/tags b/t/tests/fields-build-profiles-general/tags
index f4ce41b..7624f0d 100644
--- a/t/tests/fields-build-profiles-general/tags
+++ b/t/tests/fields-build-profiles-general/tags
@@ -1,7 +1,7 @@
 E: fields-build-profiles-general source: invalid-profile-name-in-build-profiles-field unknown fields-build-profiles-general-unknown-profile
 E: fields-build-profiles-general source: invalid-profile-name-in-source-relation foobar [build-depends: bpfail1 <foobar>]
 E: fields-build-profiles-general source: invalid-restriction-formula-in-build-profiles-field <in<valid> fields-build-profiles-general-wrong-syntax
-W: fields-build-profiles-general source: restriction-formula-with-debhelper-without-debhelper-version
-W: fields-build-profiles-general source: restriction-formula-with-debhelper-without-debhelper-version
-W: fields-build-profiles-general source: restriction-formula-without-versioned-dpkg-dev-dependency
-W: fields-build-profiles-general source: restriction-formula-without-versioned-dpkg-dev-dependency
+P: fields-build-profiles-general source: restriction-formula-with-debhelper-without-debhelper-version
+P: fields-build-profiles-general source: restriction-formula-with-debhelper-without-debhelper-version
+P: fields-build-profiles-general source: restriction-formula-without-versioned-dpkg-dev-dependency
+P: fields-build-profiles-general source: restriction-formula-without-versioned-dpkg-dev-dependency

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: