[Forensics-changes] [guymager] 01/02: Make the Debian package build reproducible

Michael Prokop mika at moszumanska.debian.org
Mon Jun 29 08:27:29 UTC 2015


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

mika pushed a commit to branch debian
in repository guymager.

commit 19e1cce630db56604f96248f4668af26539628ab
Author: Michael Prokop <mika at debian.org>
Date:   Mon Jun 29 10:15:59 2015 +0200

    Make the Debian package build reproducible
    
    Thanks: Reiner Herrmann <reiner at reiner-h.de> for the patch
    Closes: #790258
---
 debian/patches/adjust_compileinfo | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/patches/adjust_compileinfo b/debian/patches/adjust_compileinfo
index 2b48007..328d60f 100644
--- a/debian/patches/adjust_compileinfo
+++ b/debian/patches/adjust_compileinfo
@@ -1,10 +1,12 @@
 --- a/compileinfo.sh
 +++ b/compileinfo.sh
-@@ -2,7 +2,7 @@
+@@ -1,8 +1,8 @@
+ #!/bin/bash
  
  echo '// Automatically generated file. See project file and compileinfo.sh for further information.'
- date '+const char *pCompileInfoTimestamp = "%Y-%m-%d-%H.%M.%S";'
+-date '+const char *pCompileInfoTimestamp = "%Y-%m-%d-%H.%M.%S";'
 -head -qn 1 changelog debian/changelog 2>/dev/null | awk '{
++date --utc '+const char *pCompileInfoTimestamp = "%Y-%m-%d-%H.%M.%S";' -d "$(dpkg-parsechangelog -S Date)"
 +head -qn 1 debian/changelog 2>/dev/null | awk '{
                                      Version = $2
                                      gsub ("\\(", "", Version)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/guymager.git



More information about the forensics-changes mailing list