Source: anacron
Version: 2.3-38
Severity: normal
Tags: patch
User: helm...@debian.org
Usertags: dep17m2

We want to move systemd units to /usr. The anacron packaging hard codes
the location of anacron.timer to /lib/systemd/system. I suggest that it
lets dh_installsystemd perform the installation of the unit. Then we can
change anacron using a binNMU after changing dh_installsystemd. I'm
attaching a patch for your convenience.

Helmut
diff -Nru anacron-2.3/debian/changelog anacron-2.3/debian/changelog
--- anacron-2.3/debian/changelog        2023-07-13 17:21:18.000000000 +0200
+++ anacron-2.3/debian/changelog        2023-09-25 15:47:01.000000000 +0200
@@ -1,3 +1,10 @@
+anacron (2.3-38.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Let dh_installsystemd install anacron.timer. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 25 Sep 2023 15:47:01 +0200
+
 anacron (2.3-38) unstable; urgency=medium
 
   * anacron.8: Editorial fixes (Closes: #1040885)
diff -Nru anacron-2.3/debian/rules anacron-2.3/debian/rules
--- anacron-2.3/debian/rules    2023-07-13 15:05:25.000000000 +0200
+++ anacron-2.3/debian/rules    2023-09-25 15:47:00.000000000 +0200
@@ -24,7 +24,6 @@
 override_dh_auto_install:
        $(MAKE) install PREFIX=debian/anacron 
MANDIR=debian/anacron/usr/share/man
        install -D -m 644 debian/anacrontab debian/anacron/etc/anacrontab
-       install -D -m 644 debian/anacron.timer 
debian/anacron/lib/systemd/system/anacron.timer
 
 override_dh_installcron:
        dh_installcron

Reply via email to