[osm2pgsql] 01/09: Update watch file to rename downloaded tarball.
Bas Couwenberg
sebastic at xs4all.nl
Wed Dec 10 19:28:41 UTC 2014
This is an automated email from the git hooks/post-receive script.
sebastic-guest pushed a commit to branch master
in repository osm2pgsql.
commit b90ebbcbf2c135a3874a7bba6b91e20d7df702e3
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Wed Dec 10 11:53:07 2014 +0100
Update watch file to rename downloaded tarball.
---
debian/changelog | 1 +
debian/watch | 6 +++++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index aded48e..6bc94e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
osm2pgsql (0.86.0-2) UNRELEASED; urgency=medium
* Add upstream metadata.
+ * Update watch file to rename downloaded tarball.
-- Bas Couwenberg <sebastic at xs4all.nl> Fri, 28 Nov 2014 22:06:42 +0100
diff --git a/debian/watch b/debian/watch
index 92f1cf0..ff6ff12 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,6 @@
version=3
-https://github.com/openstreetmap/osm2pgsql/tags .*/v*(\d[\d\.]+)\.tar\.gz
+opts="dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/_/./g;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/,\
+filenamemangle=s/(?:.*?)?v?(\d[\d\.]*)\.tar\.gz/osm2pgsql-$1.tar.gz/" \
+https://github.com/openstreetmap/osm2pgsql/releases \
+(?:.*/)*(?:rel|v|osm2pgsql|)[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osm2pgsql.git
More information about the Pkg-grass-devel
mailing list