From 4801b3f332b1d19019691b664cb54977d6a9d93f Mon Sep 17 00:00:00 2001 From: Christian Ehrhardt Date: Thu, 23 Jun 2016 10:13:33 +0200 Subject: fix package names to match sonames Following policy and fixing the warning regarding https://lintian.debian.org/tags/package-name-doesnt-match-sonames.html Change-Id: Ib946075ff64c0f1c30e32f7998a3aa99256ebce5 Signed-off-by: Christian Ehrhardt --- debian/rules | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index fa9cf7e3..640ed3aa 100755 --- a/debian/rules +++ b/debian/rules @@ -148,10 +148,9 @@ binary-arch: BN=$$(basename $${lib}); \ VER=$$(echo $${BN} | sed -e 's/^.*\.so\.//'); \ LN=$$(echo $${BN} | sed -e 's/\.so\.[0-9]*$$//' | tr '_' '-'); \ - LNV="libdpdk-$${LN}$${VER}"; \ - echo "moving $${lib} for library $${LNV}"; \ - mkdir -p debian/$${LNV}/$(LIBDIR); \ - mv $${lib} debian/$${LNV}/$(LIBDIR); \ + echo "moving $${lib} for library $${LN}$${VER}"; \ + mkdir -p debian/$${LN}$${VER}/$(LIBDIR); \ + mv $${lib} debian/$${LN}$${VER}/$(LIBDIR); \ done # Package: dpdk-igb-uio-dkms mkdir -p debian/dpdk-igb-uio-dkms/usr/src/dpdk-igb-uio-$(VERSION) -- cgit 1.2.3-korg