Version in base suite: 2.9.0-2.3 Base version: rmlint_2.9.0-2.3 Target version: rmlint_2.9.0-2.3+deb12u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/r/rmlint/rmlint_2.9.0-2.3.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/r/rmlint/rmlint_2.9.0-2.3+deb12u1.dsc changelog | 8 ++++++++ patches/python-version-number.patch | 17 +++++++++++++++++ patches/series | 1 + 3 files changed, 26 insertions(+) diff -Nru rmlint-2.9.0/debian/changelog rmlint-2.9.0/debian/changelog --- rmlint-2.9.0/debian/changelog 2021-04-15 21:03:37.000000000 +0000 +++ rmlint-2.9.0/debian/changelog 2023-07-12 15:18:40.000000000 +0000 @@ -1,3 +1,11 @@ +rmlint (2.9.0-2.3+deb12u1) bookworm; urgency=medium + + * Non-maintainer upload. + * Fix error in other packages caused by invalid python package version + number (cherry-picking upstream patch; closes: #1040179) + + -- Julian Gilbey Wed, 12 Jul 2023 16:18:40 +0100 + rmlint (2.9.0-2.3) unstable; urgency=medium * Non-maintainer upload. diff -Nru rmlint-2.9.0/debian/patches/python-version-number.patch rmlint-2.9.0/debian/patches/python-version-number.patch --- rmlint-2.9.0/debian/patches/python-version-number.patch 1970-01-01 00:00:00.000000000 +0000 +++ rmlint-2.9.0/debian/patches/python-version-number.patch 2023-07-12 15:18:40.000000000 +0000 @@ -0,0 +1,17 @@ +From: Cebtenzzre +Subject: gui: use PEP 440-compliant version number +Origin: upstream, https://github.com/sahib/rmlint/commit/b5a6d9b359b1fc1ea75bdb6c1ae6cbdc0a304ecf +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040179 + +--- a/gui/setup.py ++++ b/gui/setup.py +@@ -14,7 +14,8 @@ + with open('../.version', 'r') as handle: + version_string = handle.read() + +- return version_string.strip() ++ version_numbers, _ = version_string.split(' ', 1) ++ return version_numbers + + + def get_prefix(): diff -Nru rmlint-2.9.0/debian/patches/series rmlint-2.9.0/debian/patches/series --- rmlint-2.9.0/debian/patches/series 2021-04-15 21:03:37.000000000 +0000 +++ rmlint-2.9.0/debian/patches/series 2023-07-12 15:18:40.000000000 +0000 @@ -8,3 +8,4 @@ glib-2_62.patch 0001-fix-link-error-on-compilers-with-fno-common-enabled.patch 0010-apply-upstream-fix-for-data-loss-bug.patch +python-version-number.patch