From d6f770d35132384b9cc474f2d80ef571683749c7 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 27 Feb 2015 10:34:34 +0100 Subject: [PATCH] fix package dependency --- Makefile | 11 +++++++---- debian/control | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 62e7a6c..55d8442 100644 --- a/Makefile +++ b/Makefile @@ -10,20 +10,23 @@ DLMSRC=${DLMDIR}.tar.gz ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) GITVERSION:=$(shell cat .git/refs/heads/master) -DEB=dlm_${DLMVER}-${PKGREL}_${ARCH}.deb +DEBS= \ +libdlm3_${DLMVER}-${PKGREL}_${ARCH}.deb \ +libdlm-dev_${DLMVER}-${PKGREL}_${ARCH}.deb -all: deb +all: ${DEBS} .PHONY: dinstall dinstall: deb - dpkg -i ${DEB} + dpkg -i ${DEBS} .PHONY: deb -deb ${DEB}: ${DLMSRC} +deb ${DEBS}: ${DLMSRC} rm -rf ${DLMDIR} tar xf ${DLMSRC} cp -a debian ${DLMDIR} cd ${DLMDIR}; dpkg-buildpackage -b -uc -us + lintian ${DEBS} download: diff --git a/debian/control b/debian/control index e0d91a8..e1c8acd 100644 --- a/debian/control +++ b/debian/control @@ -16,7 +16,7 @@ Description: Distributed lock manager Package: libdlm-dev Section: libdevel Architecture: any -Depends: ${misc:Depends}, dlm1 (= ${binary:Version}) +Depends: ${misc:Depends}, libdlm3 (= ${binary:Version}) Description: Distributed lock manager (developer files) DLM is a symmetric general-purpose distributed lock manager. It is used for example by GFS and the distributed volume manager. -- 2.39.2