[jmock] 09/48: * Update debian/watch to rename the jar to .zip to be able to repack it to a .tar.gz source tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Sep 4 09:56:32 UTC 2017


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

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

commit d1ef7e01177da7012f0b35d268bbf467e859b322
Author: Ludovic Claude <ludovic.claude at laposte.net>
Date:   Mon Jul 13 23:50:34 2009 +0000

    * Update debian/watch to rename the jar to .zip to be able to repack it to a .tar.gz source tarball
---
 debian/rules | 2 +-
 debian/watch | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index cb11c93..69403bb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -72,5 +72,5 @@ get-orig-pom:
 	wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/jmock/jmock/$(DEB_UPSTREAM_VERSION)/jmock-$(DEB_UPSTREAM_VERSION).pom
 
 get-orig-source:
-	-uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+	-uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename --repack
 
diff --git a/debian/watch b/debian/watch
index ade5cd5..41e58c9 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
 version=3
-http://dist.codehaus.org/jmock/distributions/jmock-([\d.]+)-src\.jar
+opts=filenamemangle=s/\.jar/.zip/ \
+ http://dist.codehaus.org/jmock/distributions/jmock-([\d.]+)-src\.jar

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



More information about the pkg-java-commits mailing list