[netcdf-libcf] 01/01: Fix upstream version extraction from changelog.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu Jun 25 20:54:22 UTC 2015


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

sebastic pushed a commit to branch master
in repository netcdf-libcf.

commit 37ab0ff74a05081a7906ce6d0f9e9cc9591c3d27
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Jun 25 22:42:52 2015 +0200

    Fix upstream version extraction from changelog.
---
 debian/rules             | 2 +-
 debian/upstream/metadata | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index f2450a0..16b2469 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
 
 #export DH_VERBOSE=1
 
-UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/~.*//; s/^[0-9]://')
+UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
 
 %:
 	dh $@ --with autoreconf,python2 --parallel
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..3a6d00b
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Name: LibCF
+Repository: http://svn.code.sf.net/p/libcf/
+Repository-Browse: http://sourceforge.net/p/libcf/code/HEAD/tree/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/netcdf-libcf.git



More information about the Pkg-grass-devel mailing list