From 3af0fb51b575c29dfb1048871e93089c73a576f7 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Wed, 10 Dec 2014 21:07:45 +0000 Subject: [PATCH] Raspbian's dpkg-changelog doesn't understand -S, use some sed magic instead. --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 047f532..dc9e15b 100755 --- a/debian/rules +++ b/debian/rules @@ -14,8 +14,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk -VER=$(shell dpkg-parsechangelog -SVersion) -SRCNAME=$(shell dpkg-parsechangelog -SSource) +VER=$(shell dpkg-parsechangelog | sed -n 's/^Version: //p') +SRCNAME=$(shell dpkg-parsechangelog | sed -n 's/^Source: //p') override_dh_auto_build: dh_auto_build -- 'EXTRACFLAGS=-DHTMLPATH=\"/usr/share/dump1090-mutability/html\" -DMODES_DUMP1090_VARIANT=\"$(SRCNAME)\" -DMODES_DUMP1090_VERSION=\"$(VER)\"'