aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@gmail.com>2017-11-09 13:50:16 +0000
committerLuca Boccassi <luca.boccassi@gmail.com>2017-11-09 13:50:16 +0000
commit635e541a23bd3f5467e6007fd91ae0974183d901 (patch)
treed87455873032d5d27317614db242e01bd84f453d
parent7a396f21b90e71a861687d5eb63b5e64e4de8f50 (diff)
Fix DPDK_ABI parsing when using ~ for RCs
Change-Id: I484f7331390c8fb0226becbaeba9e8ff6a50304a Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 55b8360e..ef7af402 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 | cut -d '.' -f1-2)
+DPDK_ABI := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d '-' -f1 | cut -d '.' -f1-2 | cut -d '~' -f1)
# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie