Code

use dh_strip_nondeterminism to make build reproducible
authorMarc Fournier <marc.fournier@camptocamp.com>
Tue, 25 Aug 2015 16:37:46 +0000 (18:37 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Tue, 25 Aug 2015 16:37:46 +0000 (18:37 +0200)
debian/changelog
debian/control
debian/rules

index 53fdbfb275337fdba6711dc66f5fb8665d368dc2..aadca9214726d9705df16d86f850f1319bf4bbab 100644 (file)
@@ -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 <marc.fournier@camptocamp.com>  Tue, 25 Aug 2015 06:55:52 +0200
 
index 875f9c1b15487aedb9ace8225281665117f1b474..f89a0c8a4f2e758c5095d4e3a37031e13c772cb7 100644 (file)
@@ -3,7 +3,7 @@ Section: utils
 Priority: optional
 Maintainer: Sebastian Harl <tokkee@debian.org>
 Uploaders: Marc Fournier <marc.fournier@camptocamp.com>
-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,
index 0470778f0380bc8e1b0091b3104fc502adaae6bb..3afddd29617f0a8db845f14e502afb4a9feddba0 100755 (executable)
@@ -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