diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-07-10 10:19:50 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-07-10 10:19:50 +0200 |
commit | 6925013f5dec15d98f842a29f98bfb3b1790f518 (patch) | |
tree | 4cdd36c1d79f113c87a88d8c36838a24231925b8 /debian/rules | |
parent | b9c68817af94b3c2496061cb82b396c7ecf2a985 (diff) |
Replace parsing the output of dpkg-parsechangelog with
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 1 insertions, 3 deletions
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 |