[eccodes] 01/02: Also sanitize eccodes_ecbuild_config.h for reproducibility

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed Oct 25 10:55:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to tag debian/2.5.0-3
in repository eccodes.

commit ea9c4949ce131ee5e1d086d4394f32f71d67f284
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Sat Oct 21 18:48:44 2017 +0100

    Also sanitize eccodes_ecbuild_config.h for reproducibility
---
 debian/changelog | 6 ++++++
 debian/rules     | 3 +++
 2 files changed, 9 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 38d0da3..27ffcbc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+eccodes (2.5.0-3) UNRELEASED; urgency=medium
+
+  * Also sanitize eccodes_ecbuild_config.h for reproducibility
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Sat, 21 Oct 2017 18:48:29 +0100
+
 eccodes (2.5.0-2) unstable; urgency=medium
 
   * Sanitize cmake scripts further, removing build paths for reproduciblity.
diff --git a/debian/rules b/debian/rules
index 7acd308..12725d0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -100,6 +100,9 @@ override_dh_install:
 		> debian/libeccodes-dev/$(LIBDIR)/cmake/eccodes/x; \
 		mv debian/libeccodes-dev/$(LIBDIR)/cmake/eccodes/x  debian/libeccodes-dev/$(LIBDIR)/cmake/eccodes/$$f ; \
 		done
+	sed -e 's%${CURDIR}%/build/eccodes%g' < debian/libeccodes-dev/usr/include/eccodes_ecbuild_config.h \
+		> debian/libeccodes-dev/usr/include/x
+	mv debian/libeccodes-dev/usr/include/x debian/libeccodes-dev/usr/include/eccodes_ecbuild_config.h
 
 override_dh_auto_clean:
 	dh_auto_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/eccodes.git



More information about the debian-science-commits mailing list