[openarena-data] 02/08: Apply changelog date to the fake QVM files, for reproducible builds
Simon McVittie
smcv at debian.org
Tue May 5 08:47:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch master
in repository openarena-data.
commit 739157c9957bd13a5edb9891f6c3fc84bb2ff4c2
Author: Simon McVittie <smcv at debian.org>
Date: Wed Apr 29 10:47:12 2015 +0100
Apply changelog date to the fake QVM files, for reproducible builds
---
debian/changelog | 1 +
debian/rules | 2 ++
2 files changed, 3 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 1535a25..817773a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
openarena-data (0.8.5split-4) UNRELEASED; urgency=medium
* debian/rules: make more use of dh and /usr/share/dpkg/default.mk
+ * Apply changelog date to the fake QVM files, for reproducible builds
-- Simon McVittie <smcv at debian.org> Wed, 29 Apr 2015 10:39:26 +0100
diff --git a/debian/rules b/debian/rules
index d8a5018..3f539f8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,7 @@ include /usr/share/dpkg/default.mk
tarball := $(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.bz2
tardir := $(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM).orig
paks := $(shell cat debian/$(DEB_SOURCE).paks)
+build_date := $(shell dpkg-parsechangelog --show-field=Date)
build-indep: $(patsubst %,build/%,$(paks))
build/%:
@@ -21,6 +22,7 @@ build/%:
debian/$(*F)-$$crc.qvm; \
install -d $*/vm; \
install -v -m644 debian/$(*F)-$$crc.qvm $*/$$filename.qvm; \
+ touch --date='$(build_date)' $*/$$filename.qvm; \
done
rm -f $*.pk3
sed -n -e 's/#.*//; s/.*\t//p;' < debian/$*.pk3.contents | \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/openarena-data.git
More information about the Pkg-games-commits
mailing list