[javatools] 07/08: jh_depends: Sort the ${java:Depends} field to improve the reproducibility

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Jul 27 08:35:13 UTC 2016


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

ebourg-guest pushed a commit to branch master
in repository javatools.

commit 649ed91038cd24edf038b2092bd5c2129b3b8d3a
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Sat Jul 23 09:58:32 2016 +0200

    jh_depends: Sort the ${java:Depends} field to improve the reproducibility
---
 debian/changelog | 4 +++-
 jh_depends       | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ead9c16..5701662 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,9 @@
 javatools (0.56) UNRELEASED; urgency=medium
 
   * Team upload.
-  * jh_depend: Added support for Java 8
+  * jh_depends: Sort the ${java:Depends} field to improve the reproducibility
+    of the packages built with javahelper
+  * jh_depends: Added support for Java 8
   * jh_repack: Added support for xz compressed tarballs
   * jh_makepkg: Use DH compat level 9 and Standards-Version 3.9.8
     for the generated packages
diff --git a/jh_depends b/jh_depends
index 68c259c..c137ce7 100755
--- a/jh_depends
+++ b/jh_depends
@@ -191,7 +191,7 @@ for p in $PACKAGES; do
       fi
    done
    DEBDEPS="$LOCALDEBDEPS $REALDEBDEPS"
-
+   DEBDEPS=`echo $DEBDEPS | xargs -n1 | sort -u`
 
    if [ -n "$VERBOSE" ]; then
       echo "Found Debs:" $DEBDEPS

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/javatools.git



More information about the pkg-java-commits mailing list