Control: tags -1 + patch

On Thu, 21 Dec 2023 01:06:01 +0100 Chris Hofstaedtler <z...@debian.org> wrote:
Source: sane-backends
Version: 1.2.1-7
User: helm...@debian.org
Usertags: dep17m2

Hi!

sane-backends currently installs this symlink:
  lib/systemd/system/saned.service -> /dev/null

For the ongoing Debian UsrMerge effort [1], /lib should become empty,
and instead /usr/lib should be used.
To find the correct location of saned.service, you can ask
  `pkg-config --variable systemdsystemunitdir systemd`

Please find attached a build-tested patch.
Hard-coding the directory is fine, as long as you don't upload the package to stable(-backports). If you plan to do that, please revert the patch for the stable upload.

Regards,
Michael

diff -Nru sane-backends-1.2.1/debian/changelog 
sane-backends-1.2.1/debian/changelog
--- sane-backends-1.2.1/debian/changelog        2023-12-17 13:05:00.000000000 
+0100
+++ sane-backends-1.2.1/debian/changelog        2024-02-20 19:22:16.000000000 
+0100
@@ -1,3 +1,10 @@
+sane-backends (1.2.1-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install saned.service mask symlink into /usr. (Closes: #-1)
+
+ -- Michael Biebl <bi...@debian.org>  Tue, 20 Feb 2024 19:22:16 +0100
+
 sane-backends (1.2.1-7) unstable; urgency=medium
 
   * debian/rules:
diff -Nru sane-backends-1.2.1/debian/sane-utils.links 
sane-backends-1.2.1/debian/sane-utils.links
--- sane-backends-1.2.1/debian/sane-utils.links 2022-02-24 07:34:54.000000000 
+0100
+++ sane-backends-1.2.1/debian/sane-utils.links 2024-02-20 19:21:27.000000000 
+0100
@@ -1 +1 @@
-/dev/null  /lib/systemd/system/saned.service
+/dev/null  /usr/lib/systemd/system/saned.service

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to