From f7d24ed747051da4456155cf6ac0ec126b894d43 Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Tue, 25 Aug 2015 18:37:46 +0200 Subject: [PATCH] use dh_strip_nondeterminism to make build reproducible --- debian/changelog | 1 + debian/control | 2 +- debian/rules | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 53fdbfb..aadca92 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ collectd (5.5.0-3) UNRELEASED; urgency=medium it's job. - Disable smart plugin on non-linux platforms, due to missing libatasmart-dev build-dependency. + - Strip out non-deterministic bits out of generated jar files. -- Marc Fournier Tue, 25 Aug 2015 06:55:52 +0200 diff --git a/debian/control b/debian/control index 875f9c1..f89a0c8 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: utils Priority: optional Maintainer: Sebastian Harl Uploaders: Marc Fournier -Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.14.10), po-debconf, dh-systemd (>= 1.5), +Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.14.10), po-debconf, dh-systemd (>= 1.5), dh-strip-nondeterminism, bison, flex, autotools-dev, libltdl-dev, pkg-config, iptables-dev (>= 1.4.3.2-2) [linux-any], javahelper, diff --git a/debian/rules b/debian/rules index 0470778..3afddd2 100755 --- a/debian/rules +++ b/debian/rules @@ -286,6 +286,7 @@ binary-arch: build install-arch dh_systemd_start dh_link -a dh_strip -a --dbg-package=collectd-dbg + dh_strip_nondeterminism -pcollectd-core dh_compress -a -Xexamples/ dh_fixperms -a dh_makeshlibs -a -- 2.30.2