From 6925013f5dec15d98f842a29f98bfb3b1790f518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 10 Jul 2018 10:19:50 +0200 Subject: Replace parsing the output of dpkg-parsechangelog with --- debian/changelog | 1 + debian/rules | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index d2d766d..d4a8f93 100644 --- a/debian/changelog +++ b/debian/changelog @@ -15,6 +15,7 @@ psocksxx (1.1.1-1) UNRELEASED; urgency=medium - Add year 2018 for packaging. * debian/rules: - Remove now default --with autoreconf. + - Replace parsing the output of dpkg-parsechangelog with $(DEB_VERSION_UPSTREAM). -- Jörg Frings-Fürst Thu, 28 Jun 2018 06:55:17 +0200 diff --git a/debian/rules b/debian/rules index 0d3b37d..1a61a09 100755 --- a/debian/rules +++ b/debian/rules @@ -14,8 +14,6 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all # export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) -Wall -UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -n '/\(Version:\)/{s/^Version:[[:space:]]\+\([0-9]\+:\)\?\(.*\)/\2/p}' | rev | cut -d- -f 2- | rev) - %: dh $@ @@ -29,4 +27,4 @@ override_dh_installdocs-indep: override_dh_makeshlibs: dh_makeshlibs - dpkg-gensymbols -v$(UPSTREAM_VERSION) -plibpsocksxx0 + dpkg-gensymbols -v$(DEB_VERSION_UPSTREAM) -plibpsocksxx0 -- cgit v1.2.3