aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@gmail.com>2017-11-08 14:25:51 +0000
committerLuca Boccassi <luca.boccassi@gmail.com>2017-11-29 23:29:31 +0000
commit9a92e68265613f8beb66e0591ec940fd613f8758 (patch)
tree181149f0c548c63f789f89abbc88116161ebdc73 /debian
parentd910135b7f0f24e3f5a18fe7a718e93d62066093 (diff)
Fix DPDK_ABI parsing in d/rules to account for -rcX
Change-Id: I3704004c8f0595414cc1ddec62c5884e4a1791b1 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com> (cherry picked from commit 520ef8ffb2b2e8b4e18b57313d98f6283029871a) Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
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