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

Hi!

Your package installs ed and red into /bin. For the ongoing Debian
UsrMerge effort [1] these should move to /usr/bin in the trixie
cycle.

I'm attaching a trivial patch to implement such a move.
As explained in debian/changelog, the update-alternatives calls are
intentionally kept unchanged, to preserve existing user
configuration.

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 ed-1.19/debian/changelog ed-1.19/debian/changelog
--- ed-1.19/debian/changelog	2023-01-16 08:11:57.000000000 +0100
+++ ed-1.19/debian/changelog	2023-12-24 22:45:06.000000000 +0100
@@ -1,3 +1,12 @@
+ed (1.19-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install ed, red into /usr/bin. (Closes: #-1)
+    Keep update-alternatives calls unchanged, to preserve existing
+    user configuration.
+
+ -- Chris Hofstaedtler <z...@debian.org>  Sun, 24 Dec 2023 22:45:06 +0100
+
 ed (1.19-1) unstable; urgency=medium
 
   * New upstream version 1.19
diff -Nru ed-1.19/debian/rules ed-1.19/debian/rules
--- ed-1.19/debian/rules	2023-01-16 08:11:57.000000000 +0100
+++ ed-1.19/debian/rules	2023-12-24 22:44:57.000000000 +0100
@@ -13,5 +13,5 @@
 
 .PHONY: override_dh_auto_configure
 override_dh_auto_configure:
-	dh_auto_configure -- --bindir=/bin $(CROSS) \
+	dh_auto_configure -- $(CROSS) \
 	  $(foreach v,CPPFLAGS CFLAGS LDFLAGS,'$(v)=$($(v))')

Reply via email to