X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=debian%2Frules;h=952cac685935167410302e76147842e66506a62f;hb=a5b6018f30bbde785f93ae9fff6d8ee7386db015;hp=c4487ec96a88d14c5713d558344b37845a9f0acd;hpb=e0ceeba6472ffb7ca6096bf62787cf06dcfdc21d;p=deb_dpdk.git diff --git a/debian/rules b/debian/rules index c4487ec9..952cac68 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 @@ -121,11 +121,11 @@ build: fi sh debian/prep-modules $(KSRC) cat debian/control.modules >> debian/control - dh $@ --with python2,dkms,systemd + dh $@ --with python3,dkms,systemd endif %: - dh $@ --with python2,dkms,systemd + dh $@ --with python3,dkms,systemd override_dh_gencontrol: dh_gencontrol