[libinline-java-perl] 01/07: Repackage upstream tarball, excluding sourceless jar file.

Jonas Smedegaard dr at jones.dk
Fri Feb 5 13:14:18 UTC 2016


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

js pushed a commit to branch master
in repository libinline-java-perl.

commit 775d06e4289a2038db41c26f88c3fc73cb47a756
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Fri Feb 5 13:47:46 2016 +0100

    Repackage upstream tarball, excluding sourceless jar file.
---
 debian/copyright | 3 +++
 debian/rules     | 6 +++++-
 debian/watch     | 3 +++
 3 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/debian/copyright b/debian/copyright
index 8bf38e1..848ffdf 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,6 +3,9 @@ Upstream-Name: Inline::Java
 Upstream-Contact: Patrick LeBoutillier <patl at cpan.org>
 Source: http://search.cpan.org/dist/Inline-Java/
  https://github.com/ingydotnet/Inline-Java
+ Repackaged, excluding sourceless jar file
+Files-Excluded:
+ bug/bug.tar.gz
 
 Files: *
 Copyright: 2001-2005, Patrick LeBoutillier <patl at cpan.org>
diff --git a/debian/rules b/debian/rules
index c67dcb9..6c3eb8d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,7 +28,11 @@ perlpath := $(shell perl -MConfig -e 'print $$Config{vendorarch};' )
 #DEB_UPSTREAM_PACKAGE = Inline-Java
 #DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Inline
 DEB_UPSTREAM_URL = https://github.com/ingydotnet/Inline-Java/archive
-DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_TARBALL_VERSION)
+DEB_UPSTREAM_TARBALL_BASENAME = Inline-Java-$(DEB_UPSTREAM_TARBALL_VERSION)
+
+# Repackage to exclude sourceless jar file
+DEB_UPSTREAM_REPACKAGE_EXCLUDES += \
+ bug/bug.tar.gz
 
 # Build-depend unversioned on debhelper
 #  TODO: Drop when adopted in cdbs
diff --git a/debian/watch b/debian/watch
index 4b63eb4..001c48a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,8 @@
 # Run the "uscan" command to check for upstream updates and more.
 version=3
+opts=dversionmangle=s/\~dfsg.*// \
 https://github.com/ingydotnet/Inline-Java/tags .*/archive/v?(\d[\d\.]+).tar.gz
+opts=dversionmangle=s/\~dfsg.*// \
 http://www.cpan.org/modules/by-module/Inline/Inline-Java-([\d.]+)\.tar\.gz
+opts=dversionmangle=s/\~dfsg.*// \
 https://metacpan.org/release/Inline-Java .*/Inline-Java-([\d.]+)\.tar\.gz

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



More information about the Pkg-perl-cvs-commits mailing list