diff -Nru hub-2.14.2~ds1/debian/changelog hub-2.14.2~ds1/debian/changelog --- hub-2.14.2~ds1/debian/changelog 2021-02-18 09:23:57.000000000 +0000 +++ hub-2.14.2~ds1/debian/changelog 2021-05-08 12:03:40.000000000 +0000 @@ -1,3 +1,13 @@ +hub (2.14.2~ds1-1+rpi1) bullseye-staging; urgency=medium + + * export LC_ALL=C.UTF-8 in debian/rules so that the manpage + build succeeds regardless of the locale set on the buildsystem. + * Fix clean target + * Add build-depends on moreutils for use of sponge in clean + target. + + -- Peter Michael Green Sat, 08 May 2021 12:03:40 +0000 + hub (2.14.2~ds1-1) unstable; urgency=medium * New upstream version 2.14.2 (Closes: #949637) diff -Nru hub-2.14.2~ds1/debian/rules hub-2.14.2~ds1/debian/rules --- hub-2.14.2~ds1/debian/rules 2021-02-18 09:21:25.000000000 +0000 +++ hub-2.14.2~ds1/debian/rules 2021-05-08 12:03:40.000000000 +0000 @@ -1,5 +1,6 @@ #!/usr/bin/make -f +export LC_ALL=C.UTF-8 export DH_GOLANG_INSTALL_EXTRA := fixtures/ %: @@ -11,5 +12,11 @@ mv -v _build/bin/md2roff-bin bin/md2roff $(MAKE) man-pages +execute_after_dh_auto_clean: + rm -rf bin share/man/man1/hub-*.1.md share/man/.man-pages.stamp share/doc/ + grep -v blackfriday/v2 go.mod | sponge go.mod + grep -v blackfriday/v2 go.sum | sponge go.sum + grep -v 'blackfriday v1.6.0' go.sum | sponge go.sum + override_dh_auto_install: dh_auto_install -- --no-source