[Pkg-nagios-changes] [icinga] 28/36: Update watch file to handle common issues.
Bas Couwenberg
sebastic at debian.org
Sun Dec 18 16:10:37 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch modern-packaging
in repository icinga.
commit 570243ee4a6e145f5e7e6bcc828b6c774699e53a
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sun Dec 18 13:01:44 2016 +0100
Update watch file to handle common issues.
---
debian/changelog | 1 +
debian/watch | 8 ++++++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 23cffc7..cac9142 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -27,6 +27,7 @@ icinga (1.13.3-4) UNRELEASED; urgency=medium
* Don't set {C,CPP,LD}FLAGS explicitly, already set by debhelper.
* Add build dependencies for test target.
* Override dh_auto_test to create required directories.
+ * Update watch file to handle common issues.
-- Bas Couwenberg <sebastic at debian.org> Sat, 03 Dec 2016 23:27:06 +0100
diff --git a/debian/watch b/debian/watch
index e602e61..1108430 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,7 @@
version=3
-opts=filenamemangle=s/.+\/icinga-([0-9.]+).tar.gz/icinga-$1.tar.gz/ \
- https://github.com/Icinga/icinga-core/releases .*/icinga-([0-9.]+).tar.gz
+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,\
+filenamemangle=s/(?:.*?)?(?:rel|v)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/icinga-$1.$2/ \
+https://github.com/Icinga/icinga-core/releases \
+(?:.*?/)?(?:icinga)?[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/icinga.git
More information about the Pkg-nagios-changes
mailing list