[Pkg-javascript-commits] [mathjax-docs] 06/06: Make generation of the upstream tarball reproducible.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Fri Dec 29 08:57:53 UTC 2017


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

mitya57 pushed a commit to branch master
in repository mathjax-docs.

commit 1e8c4566bf74f224738d15b95b2cb60ea78ddd89
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Fri Dec 29 11:57:44 2017 +0300

    Make generation of the upstream tarball reproducible.
---
 debian/changelog          | 1 +
 debian/get-orig-source.sh | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index c6a2dd7..42cdc53 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ mathjax-docs (2.7+20171212-1) UNRELEASED; urgency=medium
   * Add a patch to not load external non-free images in badges.html.
   * Add a patch to ignore the .pc directory when building the docs.
   * Bump Standards-Version to 4.1.3, no changes needed.
+  * Make generation of the upstream tarball reproducible.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Fri, 29 Dec 2017 11:24:16 +0300
 
diff --git a/debian/get-orig-source.sh b/debian/get-orig-source.sh
index 0337ed9..023e6f8 100644
--- a/debian/get-orig-source.sh
+++ b/debian/get-orig-source.sh
@@ -27,7 +27,7 @@ VERSION="$BASEVERSION+$DATE"
 FILENAME="mathjax-docs_$VERSION.orig.tar.gz"
 
 mv "MathJax-docs-$BRANCH" "mathjax-docs-$VERSION"
-tar -czf "$pwd/$FILENAME" "mathjax-docs-$VERSION"
+GZIP=-n tar -czf "$pwd/$FILENAME" "mathjax-docs-$VERSION"
 cd ..
 rm -Rf "$tmpdir"
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/mathjax-docs.git



More information about the Pkg-javascript-commits mailing list