Correctly handle binNMUs in t-p-u

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>

"${pkg}/${arch}_tpu" means "the tpu binary packages for $pkg on
architecture $arch", not "the unstable binary packages for $pkg on
architecture ${arch}_tpu"
This commit is contained in:
Adam D. Barratt 2010-10-28 19:40:38 +00:00
parent bf77bb4490
commit b255fc75e8

View File

@ -2001,7 +2001,9 @@ class Britney:
# arch = "<source>/<arch>", # arch = "<source>/<arch>",
elif "/" in pkg: elif "/" in pkg:
pkg_name, arch = pkg.split("/") pkg_name, arch = pkg.split("/")
suite = "unstable" if arch.endswith("_tpu"):
arch, suite = arch.split("_")
else: suite = "unstable"
# removal of source packages = "-<source>", # removal of source packages = "-<source>",
elif pkg[0] == "-": elif pkg[0] == "-":
pkg_name = pkg[1:] pkg_name = pkg[1:]