From 1d7b62209ea19ea676f446d89f67be009efcb953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 12 Dec 2022 15:01:05 +0100 Subject: d/rules: Use DEB_VERSION_UPSTREAM instead of VERSION --- debian/rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 5a0855a7..b34aa21f 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,8 @@ # hardening export DEB_BUILD_MAINT_OPTIONS = hardening=+all +include /usr/share/dpkg/default.mk + ifneq ($(findstring $(DEB_BUILD_ARCH), mips mipsel),) CFLAGS += -mplt endif @@ -22,4 +24,4 @@ VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//;s/\+/\- override_dh_makeshlibs: dh_makeshlibs - dpkg-gensymbols -v$(VERSION) -plibunistring5 + dpkg-gensymbols -v$(DEB_VERSION_UPSTREAM) -plibunistring5 -- cgit v1.2.3