[Pkg-privacy-commits] [flashproxy] 62/65: have SOURCEDATE in iso8601 format instead of faketime's own format

Ximin Luo infinity0 at moszumanska.debian.org
Fri Aug 21 13:49:47 UTC 2015


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

infinity0 pushed a commit to branch _volatile-rc
in repository flashproxy.

commit 92add337b86303a1c27ca6a86327e02ed0693273
Author: Ximin Luo <infinity0 at pwned.gg>
Date:   Mon Mar 30 13:47:05 2015 +0200

    have SOURCEDATE in iso8601 format instead of faketime's own format
---
 debian/strip-nondeterminism/a2x             | 2 +-
 debian/strip-nondeterminism/dpkg-sourcedate | 2 +-
 debian/strip-nondeterminism/help2man        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/strip-nondeterminism/a2x b/debian/strip-nondeterminism/a2x
index 81ec1bc..fac5e8f 100755
--- a/debian/strip-nondeterminism/a2x
+++ b/debian/strip-nondeterminism/a2x
@@ -2,4 +2,4 @@
 # Depends: faketime
 # Eventually the upstream tool should support SOURCEDATE internally.
 test -n "$SOURCEDATE" || { echo >&2 "$0: SOURCEDATE not set"; exit 255; }
-exec faketime -f "$SOURCEDATE" /usr/bin/a2x "$@"
+exec faketime -f "$(date -d "$SOURCEDATE" +'%Y-%m-%d %H:%M:%S')" /usr/bin/a2x "$@"
diff --git a/debian/strip-nondeterminism/dpkg-sourcedate b/debian/strip-nondeterminism/dpkg-sourcedate
index 31799da..be9cb53 100755
--- a/debian/strip-nondeterminism/dpkg-sourcedate
+++ b/debian/strip-nondeterminism/dpkg-sourcedate
@@ -1,3 +1,3 @@
 #!/bin/sh
 export TZ=UTC # faketime uses UTC
-exec date -d "$(dpkg-parsechangelog --count 1 -SDate)" +'%Y-%m-%d %H:%M:%S'
+exec date -d "$(dpkg-parsechangelog --count 1 -SDate)" --iso-8601=seconds
diff --git a/debian/strip-nondeterminism/help2man b/debian/strip-nondeterminism/help2man
index 726af14..06373cf 100755
--- a/debian/strip-nondeterminism/help2man
+++ b/debian/strip-nondeterminism/help2man
@@ -2,4 +2,4 @@
 # Depends: faketime
 # Eventually the upstream tool should support SOURCEDATE internally.
 test -n "$SOURCEDATE" || { echo >&2 "$0: SOURCEDATE not set"; exit 255; }
-exec faketime -f "$SOURCEDATE" /usr/bin/help2man "$@"
+exec faketime -f "$(date -d "$SOURCEDATE" +'%Y-%m-%d %H:%M:%S')" /usr/bin/help2man "$@"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/flashproxy.git



More information about the Pkg-privacy-commits mailing list