Control: tags -1 + patch

On Fri, 12 Dec 2025 14:52:17 +0100 [email protected] wrote:
Source: rtl-sdr
Version: 2.0.2-2
Severity: normal
User: [email protected]
Usertags: dh_movetousr_removal

Hi,

your package rtl-sdr either Build-Depends on dh-sequence-movetousr or
uses dh_movetousr conditionally to move files from aliased locations
like /sbin, /bin or /lib to the canonical location in /usr.

Eventually, we would like to get rid of this debhelper addon.
Packages should use the canonical paths without any postprocessing.

This means, files are installed directly into /usr.

Please note, that such a change must not be backported to bookworm or
older. If you intend to provide such backports, these changes must be
reverted for those releases. If this means an undue burden on your
workflow our recommendation is to postpone this cleanup.

The motivation for this bug report is, to inform maintainers, that
installing files into the canonical location explicitly, is now the
preferred approach and dh_movetousr is now a deprecated tool.

The goal is, to have dh_movetousr removed after forky is released. We
can revise this plan, if needed. Please keep this timeline in mind
and let us know if this doesn't work for you.

For more information see [1].

If you have further questions, there is an IRC channel named
#debian-usrmerge on OFTC.

Regards,

Michael

[1] https://lists.debian.org/debian-devel/2025/11/msg00245.html



I looked into this and noticed, that the dh-sequence-movetousr Build-Depends is not needed anymore and can be dropped safely.

The udev rule is installed vi dh_installudev, which already does the correct thing.

So what remains is to simply drop the Build-Depends on dh-sequence-movetousr.
Please find attached a patch which implements this change.

Regards,
Michael

diff -Nru rtl-sdr-2.0.2/debian/changelog rtl-sdr-2.0.2/debian/changelog
--- rtl-sdr-2.0.2/debian/changelog      2024-04-25 13:37:07.000000000 +0200
+++ rtl-sdr-2.0.2/debian/changelog      2026-07-05 17:19:53.000000000 +0200
@@ -1,3 +1,11 @@
+rtl-sdr (2.0.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop Build-Depends on dh-sequence-movetousr, not actually needed
+    (Closes: #1122772)
+
+ -- Michael Biebl <[email protected]>  Sun, 05 Jul 2026 17:19:53 +0200
+
 rtl-sdr (2.0.2-2) unstable; urgency=medium
 
   * upload to unstable
diff -Nru rtl-sdr-2.0.2/debian/control rtl-sdr-2.0.2/debian/control
--- rtl-sdr-2.0.2/debian/control        2024-04-24 16:26:40.000000000 +0200
+++ rtl-sdr-2.0.2/debian/control        2026-07-05 17:19:31.000000000 +0200
@@ -7,7 +7,6 @@
 Build-Depends: base-files (>= 13~),
                cmake,
                debhelper-compat (= 13),
-               dh-sequence-movetousr,
                libusb-1.0-0-dev [!kfreebsd-any],
                libusb2-dev [kfreebsd-any],
               pkgconf

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to