From 04a38034aad40632bcb78a8e55bdd7472d7c5bd6 Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 21 Mar 2023 23:09:20 +0000 Subject: [PATCH] Bug 33168: Prevent debhelper from renaming history.txt to changelog This change prevents debhelper from renaming history.txt to changelog, since that renaming was breaking the Timeline feature in Koha. Another option would've been to rename history.txt to something else but that filename is already embedded in Koha and the Koha release tools, so this seems the safer option. Test plan: 0. Apply patch 1. Build Debian package 2. Confirm that /usr/share/doc/koha-common/history.txt is created and /usr/share/doc/koha-common/changelog.gz is not created Signed-off-by: Mason James --- debian/rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/rules b/debian/rules index 211649ad1d..76627db4c5 100755 --- a/debian/rules +++ b/debian/rules @@ -46,3 +46,8 @@ override_dh_auto_install: override_dh_compress: # exclude history.txt from compression as about.pl needs it uncompressed dh_compress --exclude=history.txt --exclude=contributors.yaml --exclude=teams.yaml + +override_dh_installchangelogs: + # Debian Buster onwards renames history.txt to changelog which breaks Koha's timeline feature + dh_installchangelogs --exclude=history.txt + -- 2.30.2