Package: man-db
Version: 2.12.0-1
Severity: normal
Tags: patch
User: helm...@debian.org
Usertags: dep17m2

Hi,

Your package installs systemd units into /lib/systemd/system.  For the
ongoing Debian UsrMerge effort [1] these files should move to /usr in
the trixie cycle.

It seems that almost everything is in place for that already and all
that is needed is to add systemd-dev to Build-Depends, so that
systemd.pc decides on the location of the unit files.  See the attached
build-tested patch.

Cheers,
       Sven


[1] https://wiki.debian.org/UsrMerge

From 292037fa4fe629a25f9cfbe9e436688d9cdc99da Mon Sep 17 00:00:00 2001
From: Sven Joachim <svenj...@gmx.de>
Date: Sat, 6 Jan 2024 12:49:09 +0100
Subject: [PATCH] Add systemd-dev to Build-Depends

This ensures that the systemd units are installed into
/usr/lib/systemd/system in trixie and later, while keeping them in
/lib/systemd/system in bookworm-packports.
---
 debian/control | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/control b/debian/control
index ff9b9ac8..295bea78 100644
--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,7 @@ Build-Depends: autopoint,
                libpipeline-dev,
                libseccomp-dev [amd64 arm64 armel armhf hppa i386 mips mips64el mipsel powerpc powerpcspe ppc64 ppc64el s390x x32],
                pkg-config,
+               systemd-dev [linux-any],
                po4a,
                zlib1g-dev,
 Homepage: https://man-db.gitlab.io/man-db/
--
2.43.0

Reply via email to