[med-svn] [libgoby-java] 02/10: Use uscan from git to remove a lot of data we do not need to build the package (und thus we do not need to care for the license) as well as some JAR files we will replace by Debian packages ones
Andreas Tille
tille at debian.org
Mon Dec 25 13:26:23 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository libgoby-java.
commit a5f99b239940b3e4157147ede9ef63578852ae51
Author: Andreas Tille <tille at debian.org>
Date: Tue Dec 18 21:45:03 2012 +0000
Use uscan from git to remove a lot of data we do not need to build the package (und thus we do not need to care for the license) as well as some JAR files we will replace by Debian packages ones
---
debian/copyright | 5 +++++
debian/rules | 9 +++++++++
debian/watch | 3 ++-
3 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/debian/copyright b/debian/copyright
index b3deeae..123cb3d 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,6 +3,11 @@ Upstream-Name: Goby
Upstream-Contact: goby-framework at googlegroups.com
Source: http://chagall.med.cornell.edu/goby/releases/archive/
https://github.com/CampagneLaboratory/goby/tags
+Files-Excluded:
+ */bzip2.jar
+ */commons*.jar
+ */log4j-.jar
+ data/
Files: *
Copyright: © 20xx-20yy <upstream>
diff --git a/debian/rules b/debian/rules
index 6055261..955b149 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,12 @@
%:
dh $@
+
+# Remark: The following uscan command requires devscripts > 2.12.4 which is not
+# yet released at the time of this package release. The code can be obtained
+# via
+# git clone git://tille@git.debian.org/git/users/tille/devscripts.git
+# and then use scripts/uscan.pl
+get-orig-source:
+ mkdir -p ../tarballs
+ uscan --verbose --force-download --repack-compression xz --destdir ../tarballs
diff --git a/debian/watch b/debian/watch
index cf9737b..8e93766 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
version=3
-https://github.com/CampagneLaboratory/goby/tags .*/(\d[\d\.]+)\.tar\.gz
+opts="dversionmangle=s/\+dfsg//g" \
+ https://github.com/CampagneLaboratory/goby/tags .*/(\d[\d\.]+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libgoby-java.git
More information about the debian-med-commit
mailing list