Source: mbpfan
Version: 2.3.0-1
Severity: normal
Tags: patch
User: helm...@debian.org
Usertags: dep17m2

Dear Maintainer,

for the ongoing UsrMerge effort [1], systemd.pc and
dh_installsystemd were changed to place units into
/usr/lib/systemd/system.

Now your package installs an empty directory /lib/systemd/system.
Please stop shipping this directory.

For your convenience, a possible patch is attached.

Chris

[1] https://wiki.debian.org/UsrMerge
diff -Nru mbpfan-2.3.0/debian/changelog mbpfan-2.3.0/debian/changelog
--- mbpfan-2.3.0/debian/changelog	2022-03-07 08:07:58.000000000 +0100
+++ mbpfan-2.3.0/debian/changelog	2023-12-17 02:33:28.000000000 +0100
@@ -1,3 +1,10 @@
+mbpfan (2.3.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Stop creating empty /lib/systemd/system directory. (Closes: #-1)
+
+ -- Chris Hofstaedtler <z...@debian.org>  Sun, 17 Dec 2023 02:33:28 +0100
+
 mbpfan (2.3.0-1) unstable; urgency=medium
 
   * [036cff0] New upstream version 2.3.0
diff -Nru mbpfan-2.3.0/debian/patches/Makefile-stop-creating-empty-dir.patch mbpfan-2.3.0/debian/patches/Makefile-stop-creating-empty-dir.patch
--- mbpfan-2.3.0/debian/patches/Makefile-stop-creating-empty-dir.patch	1970-01-01 01:00:00.000000000 +0100
+++ mbpfan-2.3.0/debian/patches/Makefile-stop-creating-empty-dir.patch	2023-12-17 02:33:01.000000000 +0100
@@ -0,0 +1,12 @@
+Index: mbpfan-2.3.0/Makefile
+===================================================================
+--- mbpfan-2.3.0.orig/Makefile
++++ mbpfan-2.3.0/Makefile
+@@ -59,7 +59,6 @@ uninstall:
+ install: all
+ 	install -d $(DESTDIR)/usr/sbin
+ 	install -d $(DESTDIR)/etc
+-	install -d $(DESTDIR)/lib/systemd/system
+ 	install -d $(DESTDIR)/usr/share/doc/mbpfan
+ 	install $(BIN) $(DESTDIR)/usr/sbin
+ 	install -m644 $(CONF) $(DESTDIR)/etc
diff -Nru mbpfan-2.3.0/debian/patches/series mbpfan-2.3.0/debian/patches/series
--- mbpfan-2.3.0/debian/patches/series	2022-03-07 08:07:58.000000000 +0100
+++ mbpfan-2.3.0/debian/patches/series	2023-12-17 02:32:47.000000000 +0100
@@ -1,3 +1,4 @@
 Drop-deprecated-After-syslog.target-from-mbpfan.service.patch
 Use-CPPFLAGS-during-compile-step.patch
 Move-PIDFile-to-run-mbpfan.pid.patch
+Makefile-stop-creating-empty-dir.patch

Reply via email to