[getdp] 37/60: fix get-orig-source
Matteo F. Vescovi
mfv at moszumanska.debian.org
Thu Feb 11 10:12:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
mfv pushed a commit to branch master
in repository getdp.
commit d0da9af8d1f90a87984a9b77d340d24fe1c460b0
Author: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
Date: Mon Mar 11 13:25:30 2013 +0000
fix get-orig-source
---
debian/rules | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index a7a7a95..c66c1e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -58,7 +58,8 @@ override_dh_auto_clean:
rm -rf $(BUILDDIR)/petsc $(BUILDDIR)/sparskit
# Grab the version before +dfsg
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p')
+DEB_SOURCE_PACKAGE = $(shell dpkg-parsechangelog | grep '^Source:' | cut -f 2 -d ' ')
+DEB_UPSTREAM_VERSION = $(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p')
DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -n -e 's/\.dfsg.*$$//p')
get-orig-source:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/getdp.git
More information about the debian-science-commits
mailing list