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

[lintian] 01/01: c/binaries: Allow golang-any as alt. to golang-go



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

nthykier pushed a commit to branch master
in repository lintian.

commit 32d0063a307dbcd803020b8b1a8ac6ccd8833e46
Author: Niels Thykier <niels@thykier.net>
Date:   Fri Sep 30 16:41:50 2016 +0000

    c/binaries: Allow golang-any as alt. to golang-go
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/binaries.pm | 3 ++-
 debian/changelog   | 4 ++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/checks/binaries.pm b/checks/binaries.pm
index bd04ef8..9123b1e 100644
--- a/checks/binaries.pm
+++ b/checks/binaries.pm
@@ -276,7 +276,8 @@ sub run {
     my $src = $group->get_source_processable;
     if (defined($src)) {
         $built_with_golang
-          = $src->info->relation('build-depends')->implies('golang-go');
+          = $src->info->relation('build-depends')
+          ->implies('golang-go | golang-any');
     }
 
     # process all files in package
diff --git a/debian/changelog b/debian/changelog
index 5e0e502..9f972d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,10 @@ lintian (2.5.48) UNRELEASED; urgency=low
       "home" with the coming removal of hardening-wrapper and
       hardening-includes.
     + [JW] Remove the hardening-no-stackprotector tag.
+    + [NT] Allow "golang-any" as an alternative to "golang-go" in
+      Build-Depends for detecting golang binaries.  Thanks to
+      Martín Ferrari for the report and the initial patch.
+      (Closes: #839228)
   * checks/control-file.{desc,pm}:
     + [JW] Add references to tags related to build profiles.
     + [JW] Relax Build-Profiles syntax check to allow (almost) any

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


Reply to: