[pkg-go] Bug#1054192: acmetool: installs units twice once dh_installsystemd installs to /usr
Helmut Grohne
helmut at subdivi.de
Wed Oct 18 11:41:12 BST 2023
Source: acmetool
Version: 0.2.2-1
Tags: patch
User: helmutg at debian.org
Usertags: dep17m2
We want to change dh_installsystemd to install units to /usr to finalize
the /usr-merge transition via DEP17. When doing so, acmetool will end up
with units in both /usr/lib/systemd/system (via dh_installsystemd) and
/lib/systemd/system (via dh_install). This consititutes a policy
violation. I'm attaching a patch to install the units only once (via
dh_installsystemd). Once I upload debhelper, this bug will become RC.
Helmut
-------------- next part --------------
diff -Nru acmetool-0.2.2/debian/acmetool.install acmetool-0.2.2/debian/acmetool.install
--- acmetool-0.2.2/debian/acmetool.install 2023-02-06 04:30:40.000000000 +0100
+++ acmetool-0.2.2/debian/acmetool.install 2023-10-18 12:31:13.000000000 +0200
@@ -1,4 +1,2 @@
-debian/acmetool.service lib/systemd/system
-debian/acmetool.timer lib/systemd/system
debian/nginx/acmetool.conf etc/nginx/snippets
debian/rsyslog/acmetool.conf etc/rsyslog.d
diff -Nru acmetool-0.2.2/debian/changelog acmetool-0.2.2/debian/changelog
--- acmetool-0.2.2/debian/changelog 2023-02-06 04:30:40.000000000 +0100
+++ acmetool-0.2.2/debian/changelog 2023-10-18 12:31:16.000000000 +0200
@@ -1,3 +1,11 @@
+acmetool (0.2.2-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Install systemd units only once when dh_installsystemd moves to /usr.
+ (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Wed, 18 Oct 2023 12:31:16 +0200
+
acmetool (0.2.2-1) unstable; urgency=medium
* New upstream version 0.2.2
More information about the Pkg-go-maintainers
mailing list