From 1bf829933c2f39038515ed2e9dfc456107963ee5 Mon Sep 17 00:00:00 2001 From: Ben Finney Date: Sat, 16 Apr 2016 15:58:11 +1000 Subject: [PATCH] Specify to Uscan the Debian mangling of upstream version. --- debian/watch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/watch b/debian/watch index 21b7265..65a867e 100644 --- a/debian/watch +++ b/debian/watch @@ -1,12 +1,12 @@ # debian/watch # Debian uscan file for ‘inform6-library’ package. -# Manpage: ‘uscan(1)’ +# Manual page: ‘uscan(1)’ -# Compulsory line, this is a version 3 file. +# Version of the Uscan configuration format for this file. version=3 # Automated tarball releases at GitHub project. -opts="filenamemangle=s/\S+\/(\d)\/(\S+)\.(tgz|tbz2|txz|tar\.(?:gz|bz2|xz))/inform6lib-$1\.$2\.$3/,uversionmangle=s/(\d)\/(\S+)$/$1.$2/;s/(\d)-((?:a|alpha|b|beta|c|rc)\d*)$/$1~$2/" \ +opts="filenamemangle=s/\S+\/(\d)\/(\S+)\.(tgz|tbz2|txz|tar\.(?:gz|bz2|xz))/inform6lib-$1\.$2\.$3/,uversionmangle=s/(\d)\/(\S+)$/$1.$2/;s/(\d)-((?:a|alpha|b|beta|c|rc)\d*)$/$1~$2/,dversionmangle=s/(\+|~)dfsg(\.\d+)?$//" \ https://github.com/DavidGriffith/inform6lib/releases/ \ /DavidGriffith/inform6lib/archive/(\d\/\S+)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) \ debian debian/repack -- 2.11.4.GIT