Package: fbset
Version: 2.1-33
Severity: normal
Tags: patch
User: [email protected]
Usertags: dep17m2
Your package installs programs into /bin. For the ongoing Debian
UsrMerge effort [1] these files should be relocated to /usr/bin in the
trixie cycle.
The simplest way to achieve that is probably to use the dh_movetousr
tool added in debhelper 13.11.7, see the attached patch.
Cheers,
Sven
[1] https://wiki.debian.org/UsrMerge
From 4f14a04ac48d09e942ee25349862772c7e9448db Mon Sep 17 00:00:00 2001
From: Sven Joachim <[email protected]>
Date: Sun, 21 Jan 2024 17:37:15 +0100
Subject: [PATCH] Move binaries below /usr
The upstream Makefile installs binaries into /bin, in Debian trixie
and later they should be installed into /usr/bin instead. Use the
dh_movetousr tool added in debhelper 13.11.7 to achieve that.
Adding dh-sequence-movetousr to Build-Depends is not strictly
necessary, but it helps with backports and ensures that dh_movetousr
is run in case debian/rules gets ever converted to dh.
---
debian/control | 2 +-
debian/rules | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 91d1c9f..a53e199 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Vcs-Browser: https://github.com/sudipm-mukherjee/fbset.git
Vcs-Git: https://github.com/sudipm-mukherjee/fbset.git
Standards-Version: 4.6.1.0
Rules-Requires-Root: no
-Build-Depends: debhelper-compat (= 13), dpkg-dev (>= 1.15.7), flex, bison
+Build-Depends: debhelper-compat (= 13), dh-sequence-movetousr, dpkg-dev (>= 1.15.7), flex, bison
Package: fbset
Architecture: linux-any
diff --git a/debian/rules b/debian/rules
index 543d5f2..1d0a590 100755
--- a/debian/rules
+++ b/debian/rules
@@ -79,6 +79,7 @@ binary-arch: install-arch
dh_strip -a
dh_compress -a
dh_fixperms -a
+ dh_movetousr -a
dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a
--
2.43.0