summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-07-10 10:19:50 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-07-10 10:19:50 +0200
commit6925013f5dec15d98f842a29f98bfb3b1790f518 (patch)
tree4cdd36c1d79f113c87a88d8c36838a24231925b8
parentb9c68817af94b3c2496061cb82b396c7ecf2a985 (diff)
Replace parsing the output of dpkg-parsechangelog with
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules4
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 <debian@jff.email> 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