From cd4d717551f74b4dff4e7326fb2f655168ded69e Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 5 Dec 2021 15:42:39 +0100 Subject: [PATCH] backportpackage: change the ubuntu backports version following the new policy from the Backporters team Thanks: Unit 193 for the patch Signed-off-by: Mattia Rizzolo --- backportpackage | 2 +- debian/changelog | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/backportpackage b/backportpackage index 6bfe052..3cadfca 100755 --- a/backportpackage +++ b/backportpackage @@ -242,7 +242,7 @@ def get_backport_version(version, suffix, upload, release): series = Distribution(distribution.lower()).\ getSeries(name_or_version=release) - backport_version = version + ('~%s%s.1' % (distribution.lower(), series.version)) + backport_version = version + ('~bpo%s.1' % (series.version)) else: error('Unknown distribution «%s» for release «%s»' % (distribution, release)) if suffix is not None: diff --git a/debian/changelog b/debian/changelog index a09da2b..43a0aca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,11 @@ ubuntu-dev-tools (0.187) UNRELEASED; urgency=medium * backportpackage: + Support backporting to Debian releases. LP: #974132 + [ Unit 193 ] + * backportpackage: + + Change the generated Ubuntu version following the new policy from the + Backporters team. + [ Dan Streetman ] * misc: + Refactor download progress bar code.