[liblinear] 94/123: Update watch file

Christian Kastner chrisk-guest at moszumanska.debian.org
Tue Aug 26 03:42:13 UTC 2014


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

chrisk-guest pushed a commit to branch master
in repository liblinear.

commit cf8c6e9ab630e6b954fdf82ccd47245ec9ca8f4f
Author: Christian Kastner <debian at kvr.at>
Date:   Sat Jun 30 15:05:42 2012 +0200

    Update watch file
---
 debian/watch | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/watch b/debian/watch
index 345aa85..95a06c6 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,10 +1,10 @@
 version=3
 
 # Upstream's versioning scheme is 1.5, 1.51, 1.52, etc., so we mangle
-# it by adding a dot between minor release and revision, eg:
-# 1.8 -> 1.8, but 1.81 -> 1.8.1
+# it by adding a 0 to single-digit minor numbers, eg:
+# 1.8 -> 1.80, but 1.81 -> 1.81
 
 opts=\
-uversionmangle=s/(\d)\.(\d)(\d)/$1.$2.$3/,\
-dversionmangle=s/\+dfsg// \
+dversionmangle=s/\+dfsg//;s/(\d\.\d)$/${1}0/ \
 http://www.csie.ntu.edu.tw/~cjlin/liblinear/oldfiles/liblinear-(.*)\.zip
+ 

-- 
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