From 9a92e68265613f8beb66e0591ec940fd613f8758 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Wed, 8 Nov 2017 14:25:51 +0000 Subject: [PATCH] Fix DPDK_ABI parsing in d/rules to account for -rcX Change-Id: I3704004c8f0595414cc1ddec62c5884e4a1791b1 Signed-off-by: Luca Boccassi (cherry picked from commit 520ef8ffb2b2e8b4e18b57313d98f6283029871a) Signed-off-by: Luca Boccassi --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 8ecaa41c..2953c406 100755 --- a/debian/rules +++ b/debian/rules @@ -7,7 +7,7 @@ export DH_OPTIONS=-v # see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* include /usr/share/dpkg/default.mk -DPDK_ABI := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d '.' -f1-2) +DPDK_ABI := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d '-' -f1 | cut -d '.' -f1-2) # see FEATURE AREAS in dpkg-buildflags(1) export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie -- 2.16.6