[Reproducible-commits] [dpkg] 01/03: Dpkg::Dist::Files: .buildinfo file names don't contain an architecture

HW42 hw42-guest at moszumanska.debian.org
Wed Jul 20 15:40:09 UTC 2016


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

hw42-guest pushed a commit to branch pu/reproducible_builds
in repository dpkg.

commit 08e9db205fbc0d93f161f91d7644e3e9278381df
Author: HW42 <hw42 at ipsumj.de>
Date:   Wed Jul 20 17:33:13 2016 +0200

    Dpkg::Dist::Files: .buildinfo file names don't contain an architecture
---
 scripts/Dpkg/Dist/Files.pm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/Dpkg/Dist/Files.pm b/scripts/Dpkg/Dist/Files.pm
index 2045a1a..8015021 100644
--- a/scripts/Dpkg/Dist/Files.pm
+++ b/scripts/Dpkg/Dist/Files.pm
@@ -58,6 +58,10 @@ sub parse_filename {
         $file->{version} = $3;
         $file->{arch} = $4;
         $file->{package_type} = $5;
+
+        if ($file->{package_type} eq 'buildinfo') {
+            $file->{arch} = undef;
+        }
     } elsif ($fn =~ m/^([-+:.,_0-9a-zA-Z~]+)$/) {
         $file->{filename} = $1;
     } else {

-- 
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