r45638 - /packages/getdp/trunk/debian/rules

trophime-guest at users.alioth.debian.org trophime-guest at users.alioth.debian.org
Mon Mar 11 13:25:31 UTC 2013


Author: trophime-guest
Date: Mon Mar 11 13:25:30 2013
New Revision: 45638

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=45638
Log:
fix get-orig-source

Modified:
    packages/getdp/trunk/debian/rules

Modified: packages/getdp/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp/trunk/debian/rules?rev=45638&op=diff
==============================================================================
--- packages/getdp/trunk/debian/rules (original)
+++ packages/getdp/trunk/debian/rules Mon Mar 11 13:25:30 2013
@@ -58,7 +58,8 @@
 	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:




More information about the debian-science-commits mailing list