From 1e51a092489cea80a6fceeab4057143b0827bb17 Mon Sep 17 00:00:00 2001 From: Carlos Maddela Date: Sat, 2 Feb 2019 13:34:45 +1100 Subject: [PATCH] Make sure that the upstream changelog remains uncompressed Make sure that the upstream changelog remains uncompressed, so that the application can display it. --- debian/changelog | 7 +++++++ debian/dvdisaster.docs | 1 - debian/dvdisaster.lintian-overrides | 1 + debian/rules | 6 +++++- 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 debian/dvdisaster.lintian-overrides diff --git a/debian/changelog b/debian/changelog index c0496fc..745cab3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +dvdisaster (0.79.5-9) UNRELEASED; urgency=medium + + * Make sure that the upstream changelog remains uncompressed so + that the application can display it. + + -- Carlos Maddela Sat, 02 Feb 2019 13:32:34 +1100 + dvdisaster (0.79.5-8) unstable; urgency=medium * Fix parallel build of locale strings. diff --git a/debian/dvdisaster.docs b/debian/dvdisaster.docs index 0be57d0..3505337 100644 --- a/debian/dvdisaster.docs +++ b/debian/dvdisaster.docs @@ -1,4 +1,3 @@ -CHANGELOG CREDITS.* README.MODIFYING TODO diff --git a/debian/dvdisaster.lintian-overrides b/debian/dvdisaster.lintian-overrides new file mode 100644 index 0000000..9a58a86 --- /dev/null +++ b/debian/dvdisaster.lintian-overrides @@ -0,0 +1 @@ +dvdisaster: changelog-file-not-compressed changelog diff --git a/debian/rules b/debian/rules index 40e13a9..c36648b 100755 --- a/debian/rules +++ b/debian/rules @@ -68,4 +68,8 @@ override_dh_auto_install-indep: # automatically decompress text files. override_dh_compress-arch: dh_compress -p dvdisaster \ - -XCHANGELOG -XCREDITS -XREADME.MODIFYING -XTODO + -Xchangelog -XCREDITS -XREADME.MODIFYING -XTODO + gzip -9n debian/dvdisaster/usr/share/doc/dvdisaster/changelog.Debian + +override_dh_installchangelogs-arch: + dh_installchangelogs -p dvdisaster -k