This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
commit e59a804d37e129042be326702d6af62fda493f49 Author: Guillem Jover <guil...@debian.org> Date: Mon Sep 25 03:14:51 2017 +0200 Dpkg::Arch: Add new debarch_to_cpubits() function --- scripts/Dpkg/Arch.pm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/scripts/Dpkg/Arch.pm b/scripts/Dpkg/Arch.pm index a805acf..1eeb51a 100644 --- a/scripts/Dpkg/Arch.pm +++ b/scripts/Dpkg/Arch.pm @@ -50,6 +50,7 @@ our @EXPORT_OK = qw( debarch_is_illegal debarch_is_concerned debarch_to_abiattrs + debarch_to_cpubits debarch_to_gnutriplet debarch_to_debtuple debarch_to_multiarch @@ -514,6 +515,18 @@ sub debarch_to_abiattrs($) } } +sub debarch_to_cpubits($) +{ + my $arch = shift; + my (undef, undef, undef, $cpu) = debarch_to_debtuple($arch); + + if (defined $cpu) { + return $cpubits{$cpu}; + } else { + return; + } +} + =item $bool = debarch_eq($arch_a, $arch_b) Evaluate the equality of a Debian architecture, by comparing with another -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/dpkg/dpkg.git