[Pkg-nagios-changes] [pkg-nsca-ng] 03/13: Update watch file to handle common issues.

Bas Couwenberg sebastic at debian.org
Fri Dec 16 17:17:35 UTC 2016


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

sebastic pushed a commit to branch master
in repository pkg-nsca-ng.

commit 1bf7ea19d9affbc61b48f9a158cc0e5c6f054ac2
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Dec 16 17:54:22 2016 +0100

    Update watch file to handle common issues.
---
 debian/changelog | 1 +
 debian/watch     | 8 +++++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3aedf9f..0320db7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ nsca-ng (1.5-2) UNRELEASED; urgency=medium
   * Add Vcs-* fields to control file.
   * Change Maintainer to Debian Nagios Maintainer Group,
     move Alexander Wirt to Uploaders.
+  * Update watch file to handle common issues.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 16 Dec 2016 17:50:30 +0100
 
diff --git a/debian/watch b/debian/watch
index f14f30d..9fed923 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,6 @@
-# format version number, currently 3; this line is compulsory!
 version=3
-
-http://www.nsca-ng.org/download/nsca-ng-([\d\.]+)\.tar\.gz
\ No newline at end of file
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/;s/-/./g \
+http://www.nsca-ng.org/download/ \
+nsca-ng-([\d\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nsca-ng.git



More information about the Pkg-nagios-changes mailing list