[dpkg] 38/200: dpkg-genbuildinfo: On source builds add source to the Architecture field

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:17:12 UTC 2017


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

infinity0 pushed a commit to branch master
in repository dpkg.

commit da73ac074ed8b5e9aa20684b9da5c8e64469adb1
Author: Guillem Jover <guillem at debian.org>
Date:   Mon Nov 14 00:35:51 2016 +0100

    dpkg-genbuildinfo: On source builds add source to the Architecture field
---
 debian/changelog             | 2 ++
 scripts/dpkg-genbuildinfo.pl | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b0098fd..d404747 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ dpkg (1.18.15) UNRELEASED; urgency=medium
     - Do not enable PIE when linking static programs. glibc-based systems
       do not support this combination and produce very bogus output.
       Proposed by Szabolcs Nagy <nsz at port70.net>. Closes: #843714
+  * On source builds add 'source' to the Architecture field in the
+    .buildinfo file in dpkg-genbuildinfo.
   * Perl modules:
     - Validate architecture arguments in Dpkg::Deps deps_parse().
       Prompted by Johannes Schauer <josch at debian.org>.
diff --git a/scripts/dpkg-genbuildinfo.pl b/scripts/dpkg-genbuildinfo.pl
index 2a8b304..ea0f4c5 100755
--- a/scripts/dpkg-genbuildinfo.pl
+++ b/scripts/dpkg-genbuildinfo.pl
@@ -348,6 +348,8 @@ if (build_has_any(BUILD_SOURCE)) {
     my $dsc = "${spackage}_${sversion}.dsc";
 
     $checksums->add_from_file("$uploadfilesdir/$dsc", key => $dsc);
+
+    push @archvalues, 'source';
 }
 
 my $dist_count = 0;

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



More information about the Reproducible-commits mailing list