]> git.proxmox.com Git - dlm.git/commitdiff
fix package dependency
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 27 Feb 2015 09:34:34 +0000 (10:34 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 27 Feb 2015 09:34:34 +0000 (10:34 +0100)
Makefile
debian/control

index 62e7a6c392dedde70bb3d017418d637c045f326e..55d8442f19466cd57fe3051f21da5fba74ad9479 100644 (file)
--- 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:
index e0d91a8e42bb2c306dab834bd493428eab4404c6..e1c8acdae6d91cf58e22af015b3c5822951ab82e 100644 (file)
@@ -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.