Source: btrbk Version: 0.32.5-1 Severity: normal Tags: patch User: helm...@debian.org Usertags: dep17m2
Dear Maintainer, your package installs systemd service units, into /lib. These files need to be moved to /usr/lib as part of Debian's usr-merge effort [1]. Attached you will find a patch to let debhelper pick the correct path. This immediately works for unstable and for bookworm and is safe to do now. Later during the trixie cycle I expect this bug class to raise in priority. If during the trixie cycle your package will undergo structural changes or any other file moves, please see the wiki and upload to experimental first when these changes are done. Thank you for considering, Chris [1] https://wiki.debian.org/UsrMerge
diff -Nru btrbk-0.32.5/debian/changelog btrbk-0.32.5/debian/changelog --- btrbk-0.32.5/debian/changelog 2022-11-05 10:44:49.000000000 +0100 +++ btrbk-0.32.5/debian/changelog 2023-12-15 23:21:16.000000000 +0100 @@ -1,3 +1,10 @@ +btrbk (0.32.5-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Let debhelper place systemd units. (Closes: #-1) + + -- Chris Hofstaedtler <z...@debian.org> Fri, 15 Dec 2023 23:21:16 +0100 + btrbk (0.32.5-1) unstable; urgency=medium * New Upstream Release diff -Nru btrbk-0.32.5/debian/rules btrbk-0.32.5/debian/rules --- btrbk-0.32.5/debian/rules 2022-11-05 10:44:49.000000000 +0100 +++ btrbk-0.32.5/debian/rules 2023-12-15 23:21:16.000000000 +0100 @@ -15,6 +15,13 @@ override_dh_auto_configure: dh_auto_configure sed -i \ - -e 's/^SYSTEMDDIR\s*=.*/SYSTEMDDIR = \/lib\/systemd\/system/' \ -e 's/ChangeLog//' \ Makefile + +execute_after_dh_auto_install: + # Let dh place btrbk.service and btrbk.timer. + mv debian/btrbk/usr/lib/systemd/system/* debian/ + rmdir debian/btrbk/usr/lib/systemd/system debian/btrbk/usr/lib/systemd + +execute_after_dh_auto_clean: + rm -f debian/btrbk.service debian/btrbk.timer