check-mir: correctly parse dependencies with architecture specifications

This commit is contained in:
Robie Basak 2014-03-17 08:15:17 +00:00
parent 349ba9ef90
commit c1e3ca14dc
2 changed files with 6 additions and 1 deletions

View File

@ -106,7 +106,7 @@ def check_binary_dependencies(apt_cache, control):
for field in ('Depends', 'Pre-Depends', 'Recommends'):
if field not in control.section:
continue
for or_group in apt.apt_pkg.parse_depends(control.section[field]):
for or_group in apt.apt_pkg.parse_src_depends(control.section[field]):
pkgname = or_group[0][0]
if pkgname.startswith('$'):
continue

5
debian/changelog vendored
View File

@ -1,9 +1,14 @@
ubuntu-dev-tools (0.153) UNRELEASED; urgency=medium
[ Stefano Rivera ]
* Thanks for the NMU, Paul.
* Explicitly use xz compression when building source packages, rather than
relying on dpkg >= 1.16.5 behavior.
[ Robie Basak ]
* check-mir: correctly parse dependencies with architecture specifications
(LP: #1149679).
-- Stefano Rivera <stefanor@debian.org> Tue, 25 Feb 2014 22:45:05 +0200
ubuntu-dev-tools (0.152+nmu1) unstable; urgency=medium