[gap-grape] 01/01: Debianization: reproducible builds

Jerome Benoit calculus-guest at moszumanska.debian.org
Sun Apr 17 21:42:49 UTC 2016


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

calculus-guest pushed a commit to branch master
in repository gap-grape.

commit 8eb47b5def1a3b83eba87836e29df60429378ddf
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Sun Apr 17 22:32:17 2016 +0100

    Debianization: reproducible builds
---
 debian/changelog | 7 +++++++
 debian/rules     | 5 +++++
 2 files changed, 12 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 501527a..cc05d4b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+gap-grape (4r7+ds-2) unstable; urgency=medium
+
+  * Debianization:
+    - debian/rules: reproducible builds.
+
+ -- Jerome Benoit <calculus at rezozer.net>  Sun, 17 Apr 2016 21:34:10 +0000
+
 gap-grape (4r7+ds-1) unstable; urgency=medium
 
   * Initial release. (Closes: #762583)
diff --git a/debian/rules b/debian/rules
index f27d543..8bf513b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,11 @@
 
 GAP=/usr/bin/gap
 
+DEB_PKG_VERSION = $(shell dpkg-parsechangelog -S Version)
+DEB_BUILD_GAP_PKGINFO_DATE = $(shell sed -n 's|^Date[ ]*:=[ ]*\"\([0-9]*\)/\([0-9]*\)/20\([0-9]*\)\",|20\3-\2-\1|p' PackageInfo.g)
+
+export GAP_CONVERT_DATE = $(shell LC_ALL=C date -u -d $(DEB_BUILD_GAP_PKGINFO_DATE) +"%B %Y (Debian $(DEB_PKG_VERSION))")
+
 default:
 	@uscan --no-conf --dehs --report || true
 

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



More information about the debian-science-commits mailing list