Source: nvme-stas
Version: 2.3.1-1
Severity: normal
Tags: patch
User: helm...@debian.org
Usertags: dep17m2

Hi!

Your package previously moved systemd units into /lib, because of
missing debhelper support. For the ongoing Debian UsrMerge effort
[1] they need to move back into /usr/lib.

I'm attaching a patch to implement this, probably just reverting
what was done previously.

However, please still read the wiki page on moving files, especially
if you intend to backport to bookworm or earlier. The patch has
already been checked by a local dumat copy.

If during the trixie cycle your package will undergo structural
changes or any other file moves, please also see the wiki and upload
to experimental first when these changes are done.

Chris

[1] https://wiki.debian.org/UsrMerge
diff -Nru nvme-stas-2.3.1/debian/changelog nvme-stas-2.3.1/debian/changelog
--- nvme-stas-2.3.1/debian/changelog	2023-12-10 11:42:55.000000000 +0100
+++ nvme-stas-2.3.1/debian/changelog	2023-12-25 11:19:28.000000000 +0100
@@ -1,3 +1,11 @@
+nvme-stas (2.3.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install systemd unit files again into /usr/lib/systemd/system.
+    (Closes: #-1)
+
+ -- Chris Hofstaedtler <z...@debian.org>  Mon, 25 Dec 2023 11:19:28 +0100
+
 nvme-stas (2.3.1-1) sid; urgency=medium
 
   * Uploading to sid.
diff -Nru nvme-stas-2.3.1/debian/control nvme-stas-2.3.1/debian/control
--- nvme-stas-2.3.1/debian/control	2023-12-10 11:38:24.000000000 +0100
+++ nvme-stas-2.3.1/debian/control	2023-12-25 11:19:28.000000000 +0100
@@ -5,6 +5,7 @@
 Uploaders:
  Benjamin Drung <bdr...@debian.org>,
 Build-Depends:
+ debhelper (>= 13.11.6),
  debhelper-compat (= 13),
  dh-python,
  docbook-xml,
diff -Nru nvme-stas-2.3.1/debian/rules nvme-stas-2.3.1/debian/rules
--- nvme-stas-2.3.1/debian/rules	2023-12-10 11:38:24.000000000 +0100
+++ nvme-stas-2.3.1/debian/rules	2023-12-25 11:19:28.000000000 +0100
@@ -8,9 +8,3 @@
 
 override_dh_auto_test:
 	dh_auto_test || true
-
-execute_after_dh_auto_install:
-	# Moving systemd unit directory (#1034225)
-	mkdir -p debian/nvme-stas/lib/systemd
-	mv debian/nvme-stas/usr/lib/systemd/system debian/nvme-stas/lib/systemd
-	rmdir -p --ignore-fail-on-non-empty debian/nvme-stas/usr/lib/systemd

Reply via email to