[libnative-platform-java] 01/01: Simplify get-orig-source target. Use Files-Excluded mechanism and repack the
Markus Koschany
apo-guest at moszumanska.debian.org
Fri Jun 5 17:48:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository libnative-platform-java.
commit 180a763a01ed99c28f284fda56e85c50fd5ae32f
Author: Markus Koschany <apo at gambaru.de>
Date: Fri Jun 5 19:41:10 2015 +0200
Simplify get-orig-source target. Use Files-Excluded mechanism and repack the
sources
---
debian/copyright | 4 +++-
debian/rules | 8 ++------
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/debian/copyright b/debian/copyright
index b46233b..960ae5e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,9 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Native-platform for Java
Upstream-Contact: https://github.com/adammurdoch/native-platform
-Source: git://github.com/adammurdoch/native-platform.git
+Source: https://github.com/adammurdoch/native-platform.git
+Files-Excuded:
+ *.jar
Files: *
Copyright: Copyright 2012 Adam Murdoch
diff --git a/debian/rules b/debian/rules
index 3d18ab0..842629d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,9 +21,5 @@ override_dh_auto_clean:
rm -f Makefile
get-orig-source:
- # Extract version from github
- git clone git://github.com/adammurdoch/native-platform.git temp/
- (cd temp/; \
- git archive --prefix $(DEB_DIR)/ HEAD | tar --wildcards --delete '*/gradle/*' | gzip -9 > ../../libnative-platform-java_$(DEB_VERSION).orig.tar.gz; \
- )
- rm -rf temp/
+ uscan --download-current-version --repack --compression xz --force-download --no-symlink
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libnative-platform-java.git
More information about the pkg-java-commits
mailing list