[liblinear] 03/26: d/watch: Update to look for gzip'ed tarball instead of zip

Christian Kastner ckk at moszumanska.debian.org
Sun Sep 6 13:33:09 UTC 2015


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

ckk pushed a commit to branch master
in repository liblinear.

commit 3d7a9f68745a49b7587959b9be0a6ed73c1b2078
Author: Christian Kastner <ckk at kvr.at>
Date:   Fri Sep 4 16:32:43 2015 +0200

    d/watch: Update to look for gzip'ed tarball instead of zip
    
    Also update git-orig-source target to work with tarball
---
 debian/rules | 4 ++--
 debian/watch | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 0ad9fd0..35bf653 100755
--- a/debian/rules
+++ b/debian/rules
@@ -57,8 +57,8 @@ get-orig-source:
 	uscan --noconf --force-download --download-version $(LVER).$(LSUBVER) \
 		--check-dirname-level=0 --destdir=$(CURDIR) $(PKGDIR)
 	
-	unzip liblinear-$(UPVER).zip
-	rm -f liblinear-$(UPVER).zip
+	tar -xzf liblinear-$(UPVER).tar.gz
+	rm -f liblinear-$(UPVER).tar.gz
 	
 	# Remove Windows binaries
 	rm -rf liblinear-$(UPVER)/windows/
diff --git a/debian/watch b/debian/watch
index 95a06c6..12d23d5 100644
--- a/debian/watch
+++ b/debian/watch
@@ -6,5 +6,5 @@ version=3
 
 opts=\
 dversionmangle=s/\+dfsg//;s/(\d\.\d)$/${1}0/ \
-http://www.csie.ntu.edu.tw/~cjlin/liblinear/oldfiles/liblinear-(.*)\.zip
+http://www.csie.ntu.edu.tw/~cjlin/liblinear/oldfiles/liblinear-(.*)\.tar\.gz
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/liblinear.git



More information about the debian-science-commits mailing list