Source: f2fs-tools Version: 1.16.0-1 Severity: normal Tags: patch User: helm...@debian.org Usertags: dep17m2
Hi! Your package installs files directly into /. For the ongoing Debian UsrMerge effort [1] these files should move to /usr in the trixie cycle. I'm attaching a trivial patch to implement such a move. However, please still read the wiki page on moving files, especially if you intend to backport to bookworm or earlier. The patch has already been checked by a local dumat copy. If during the trixie cycle your package will undergo structural changes or any other file moves, please also see the wiki and upload to experimental first when these changes are done. Chris [1] https://wiki.debian.org/UsrMerge
diff -Nru f2fs-tools-1.16.0/debian/changelog f2fs-tools-1.16.0/debian/changelog --- f2fs-tools-1.16.0/debian/changelog 2023-07-17 06:03:45.000000000 +0200 +++ f2fs-tools-1.16.0/debian/changelog 2023-12-23 23:41:17.000000000 +0100 @@ -1,3 +1,10 @@ +f2fs-tools (1.16.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Install files into /usr instead of /. (Closes: #-1) + + -- Chris Hofstaedtler <z...@debian.org> Sat, 23 Dec 2023 23:41:17 +0100 + f2fs-tools (1.16.0-1) unstable; urgency=medium [ Vincent Cheng ] diff -Nru f2fs-tools-1.16.0/debian/f2fs-tools.install f2fs-tools-1.16.0/debian/f2fs-tools.install --- f2fs-tools-1.16.0/debian/f2fs-tools.install 2023-07-17 06:02:17.000000000 +0200 +++ f2fs-tools-1.16.0/debian/f2fs-tools.install 2023-12-23 23:39:28.000000000 +0100 @@ -1,4 +1,4 @@ # All but sbin/sg_write_buffer -sbin/*f2fs* +usr/sbin/*f2fs* usr/share/man/man8/*.8 diff -Nru f2fs-tools-1.16.0/debian/f2fs-tools-udeb.install f2fs-tools-1.16.0/debian/f2fs-tools-udeb.install --- f2fs-tools-1.16.0/debian/f2fs-tools-udeb.install 2023-07-17 06:02:17.000000000 +0200 +++ f2fs-tools-1.16.0/debian/f2fs-tools-udeb.install 2023-12-23 23:39:40.000000000 +0100 @@ -1,2 +1,2 @@ # All but sbin/sg_write_buffer -sbin/*f2fs* +usr/sbin/*f2fs* diff -Nru f2fs-tools-1.16.0/debian/rules f2fs-tools-1.16.0/debian/rules --- f2fs-tools-1.16.0/debian/rules 2023-07-17 06:02:17.000000000 +0200 +++ f2fs-tools-1.16.0/debian/rules 2023-12-23 23:40:13.000000000 +0100 @@ -10,8 +10,8 @@ dh $@ override_dh_auto_configure: - dh_auto_configure -- --sbindir=/sbin --disable-shared \ - --with-root-libdir=/lib/$(DEB_HOST_MULTIARCH) + dh_auto_configure -- --sbindir=/usr/sbin --disable-shared \ + --with-root-libdir=/usr/lib/$(DEB_HOST_MULTIARCH) # dh_dwz when run on f2fs-tools-udeb ends up installing the # /usr/lib/debug/.dwz files into the udeb. I think that's a bug,