summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
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