tags 1021193 + patch pending user debian-rele...@lists.debian.org usertags 1021193 + bsp-2022-10-de-karlsruhe thank you
Matthias Klose wrote... > setting deb_upstream_version in debian/rules fails: Well, that was a low-hanging fruit. The updated code copied the behaviour as found in /usr/share/dpkg/pkg-info.mk, and the packaging could benefit from that one in other ways as well. Aside, all this will break if binutils-source ever has an epoch in the version number. So here we go: To fix the issues with this package, I've prepared an NMU for binutils-arm-none-eabi (versioned as 17+nmu1), debdiff below. An upload to DELAYED/10 will follow shortly. Please feel free to tell me if I should delay it longer. Regards, Christoph
diff -Nru binutils-arm-none-eabi-17/debian/changelog binutils-arm-none-eabi-17+nmu1/debian/changelog --- binutils-arm-none-eabi-17/debian/changelog 2022-08-10 17:50:39.000000000 +0200 +++ binutils-arm-none-eabi-17+nmu1/debian/changelog 2022-10-16 11:02:35.000000000 +0200 @@ -1,3 +1,11 @@ +binutils-arm-none-eabi (17+nmu1) unstable; urgency=medium + + * Non-maintainer upload + * Fix extraction of the binutils-source upstream version number. + Closes: #1021193 + + -- Christoph Biedl <debian.a...@manchmal.in-ulm.de> Sun, 16 Oct 2022 11:02:35 +0200 + binutils-arm-none-eabi (17) unstable; urgency=medium * Make --no-warn-rwx-segments the default. diff -Nru binutils-arm-none-eabi-17/debian/rules binutils-arm-none-eabi-17+nmu1/debian/rules --- binutils-arm-none-eabi-17/debian/rules 2022-08-10 17:50:39.000000000 +0200 +++ binutils-arm-none-eabi-17+nmu1/debian/rules 2022-10-16 11:01:51.000000000 +0200 @@ -13,7 +13,7 @@ source_version := $(shell dpkg-query -W -f="\$${Version}\n" binutils-source) deb_version := $(source_version)+$(shell dpkg-parsechangelog | sed -ne "s/^Version: \(.*\)/\1/p") -deb_upstream_version := $(shell echo $(deb_version) | cut -d. -f1-3) +deb_upstream_version := $(shell echo $(deb_version) | sed -e 's/-[^-]*$$//') upstream_dir=binutils-$(deb_upstream_version)
signature.asc
Description: PGP signature