On Tue, Apr 11, 2023 at 09:37:27AM +0200, bi...@debian.org wrote: > Package: debomatic > Version: 0.26-1 > Severity: serious > Tags: sid bookworm > User: debhel...@packages.debian.org > Usertags: systemd-files-in-usr-bookworm > > Dear Maintainer, > > It seems that your package debomatic is shipping files (.service, .socket or > .timer) in /usr/lib/systemd/system. [...]
debomatic is the second package using the pybuild build system that I look at which has subdirectories `usr/lib/systemd/system/` containing the service file and then no obvious code to install it so I guess all the magic to handle it is in pybuild or some upstream build system not included in the actual source package itself. I'm not sure exactly what the best option is to adress this for pybuild using packages, but my guess would be to have some debian/rules hack that moves the file (if it's not already located in the same path as returned by `pkg-config --variable=systemdsystemunitdir systemd`) after dh_install has run probably. Regards, Andreas Henriksson