[devscripts] 03/03: build-rdeps: Inspect Build-Depends-Arch for dependencies

James McCoy jamessan at debian.org
Thu Sep 7 02:11:22 UTC 2017


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

jamessan pushed a commit to branch master
in repository devscripts.

commit adc87981cfeb616a21fa6473adcb6deec1600100
Author: James McCoy <jamessan at debian.org>
Date:   Wed Sep 6 21:58:02 2017 -0400

    build-rdeps: Inspect Build-Depends-Arch for dependencies
    
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 debian/changelog       | 1 +
 scripts/build-rdeps.pl | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 86ae1c7..6416836 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,7 @@ devscripts (2.17.10) UNRELEASED; urgency=medium
     + Use apt interfaces to find and read the sources files, fixing --old
       (non-dose) behavior when sources files are compressed.  (Closes:
       #698240)
+    + Check Build-Depends-Arch for dependencies.
 
   [ Daniel Shahaf ]
   * bts:
diff --git a/scripts/build-rdeps.pl b/scripts/build-rdeps.pl
index c8f7e1d..9b7534d 100755
--- a/scripts/build-rdeps.pl
+++ b/scripts/build-rdeps.pl
@@ -355,7 +355,7 @@ sub findreversebuilddeps {
 		next;
 	    }
 	    print STDERR "$ctrl\n" if ($opt_debug);
-	    for my $relation (qw(Build-Depends Build-Depends-Indep)) {
+	    for my $relation (qw(Build-Depends Build-Depends-Indep Build-Depends-Arch)) {
 		if (exists $ctrl->{$relation}) {
 		    if ($ctrl->{$relation} =~ m/^(.*\s)?\Q$package\E(?::[a-zA-Z0-9][a-zA-Z0-9-]*)?([\s,]|$)/) {
 			$packages{$ctrl->{Package}}{Maintainer} = $ctrl->{Maintainer};

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



More information about the devscripts-devel mailing list