[mauve] 01/01: Make the build reproducible (Closes: #778274)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Mar 2 13:06:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository mauve.
commit 2942598a5171b74c26814f5e5be01d6ccfa2c73a
Author: Chris Lamb <lamby at debian.org>
Date: Mon Mar 2 14:01:20 2015 +0100
Make the build reproducible (Closes: #778274)
---
debian/changelog | 9 +++++++++
debian/rules | 9 +++++++--
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 74573d8..8df2edd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+mauve (20140821-3) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Chris Lamb ]
+ * Make the build reproducible (Closes: #778274)
+
+ -- Emmanuel Bourg <ebourg at apache.org> Mon, 02 Mar 2015 14:00:04 +0100
+
mauve (20140821-2) unstable; urgency=medium
* Team upload.
diff --git a/debian/rules b/debian/rules
index f76a48d..10654f4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,8 +30,13 @@ install: build
mkdir -p debian/mauve/usr/src/mauve
cp -a $(filter-out debian, $(wildcard .??* *)) \
debian/mauve/usr/src/mauve/
- GZIP="-9n" tar -c --gzip -f $(CURDIR)/debian/mauve/usr/src/mauve.tar.gz \
- -C debian/mauve/usr/src --mtime="$(BUILD_DATE)" mauve
+ cd debian/mauve/usr/src && \
+ # Don't try and include ourselves in our own tarball \
+ find -not -name mauve.tar.gz -and -not -type d -print0 | \
+ LC_ALL="C" sort --zero-terminated | \
+ GZIP="-9n" tar --create --gzip --null --files-from=- \
+ --file $(CURDIR)/debian/mauve/usr/src/mauve.tar.gz \
+ --mtime="$(BUILD_DATE)"
rm -rf debian/mauve/usr/src/mauve
# Build architecture-independent files here.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/mauve.git
More information about the pkg-java-commits
mailing list