Author: Gunnar Wolf <gwolf@debian.org
Last-update: 2019-02-14
Forwarded-upstream: not-needed
Description: Get the version from the Debian changelog, not Git
 The version was used when building the package, causing a FTBFS if
 the source was not git-controlled.
 .
 Upstream author is not adding this patch, but was notified.
Index: vmdb2/format.sh
===================================================================
--- vmdb2.orig/format.sh
+++ vmdb2/format.sh
@@ -10,7 +10,7 @@ cleanup()
 tmp="$(mktemp -d)"
 trap cleanup EXIT
 
-version="$(git describe)"
+version="$(dpkg-parsechangelog -SVersion)"
 sed "s/^date: .*/date: $version/" vmdb2.mdwn > "$tmp/prelude.mdwn"
 
 pandoc \
