[hamradio-commits] [dump1090-mutability] 35/172: Raspbian's dpkg-changelog doesn't understand -S, use some sed magic instead.

Matteo F. Vescovi mfv at moszumanska.debian.org
Sun Jan 28 13:45:44 UTC 2018


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

mfv pushed a commit to branch master
in repository dump1090-mutability.

commit 9becb59c442b25924af91da461574c2236da8659
Author: Oliver Jowett <oliver at mutability.co.uk>
Date:   Wed Dec 10 21:07:45 2014 +0000

    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)\"'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090-mutability.git



More information about the pkg-hamradio-commits mailing list