From f5d24e32b05337320624788ccb99830171026483 Mon Sep 17 00:00:00 2001 From: Lars Tangvald Date: Mon, 25 Feb 2019 15:36:59 +0100 Subject: [PATCH] Fix for Bug#27786499, REDUNDANT FILES IN DEBIAN PACKAGE FOR DEBIAN9(COMMUNITY PACKAGE) FOR CJAVA. Debian (but not Ubuntu), would automatically pick up the CHANGES file as a changelog and add it. Override the dh_installchangelog section of the build to ignore the CHANGES file --- CHANGES | 2 ++ src/build/misc/debian.in/rules | 3 +++ 2 files changed, 5 insertions(+) diff --git a/CHANGES b/CHANGES index 1b0330489..455ea447a 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,8 @@ Version 8.0.16 + - Fix for Bug#27786499, REDUNDANT FILES IN DEBIAN PACKAGE FOR DEBIAN9(COMMUNITY PACKAGE) FOR CJAVA. + - WL#12246, DevAPI: Prepared statement support. - WL#10839, Adjust c/J tests to the new "ON" default for explicit_defaults_for_timestamp. diff --git a/src/build/misc/debian.in/rules b/src/build/misc/debian.in/rules index 522038a04..41f902440 100644 --- a/src/build/misc/debian.in/rules +++ b/src/build/misc/debian.in/rules @@ -72,3 +72,6 @@ override_dh_auto_build: override_dh_auto_clean: $(ANT_CMD) $(ANT_COMMON_OPTIONS) clean + +override_dh_installchangelogs: + dh_installchangelogs -XCHANGES