[med-svn] [dicom3tools] 03/04: d/p/reproducable: Add reproducible patch, Closes: #834779

Gert Wollny gert-guest at moszumanska.debian.org
Wed Aug 24 07:50:44 UTC 2016


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

gert-guest pushed a commit to branch master
in repository dicom3tools.

commit 0778cd2eb3efa0c8c13c55b44a5d83266114f399
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Wed Aug 24 07:31:22 2016 +0000

    d/p/reproducable: Add reproducible patch, Closes: #834779
---
 debian/patches/reproducible_build.patch | 14 ++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/reproducible_build.patch b/debian/patches/reproducible_build.patch
new file mode 100644
index 0000000..141db0d
--- /dev/null
+++ b/debian/patches/reproducible_build.patch
@@ -0,0 +1,14 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2016-08-19
+
+--- dicom3tools-1.00~20160610072711.orig/support/setversion
++++ dicom3tools-1.00~20160610072711/support/setversion
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+ 
+-VERSION="1.00.snapshot."`date +%Y%m%d%H%M%S`
++VERSION="1.00.snapshot."$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d%H%M%S)
+ 
+ rm -f libsrc/src/generic/version.cc
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 30e29bf..f4425ae 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ jpegdump.man.patch
 bmpdump.man.patch
 pvrg_naming.patch
 codeblockstylefix.patch
+reproducible_build.patch

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



More information about the debian-med-commit mailing list