From 33bcb730268478e705b338df090cb2b64192c686 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 23 Dec 2009 00:44:58 +0100 Subject: [PATCH] rules: Use dpkg-shlibdeps, rather than dh_shlibdeps to get collectd's deps. dh_shlibdeps does not work, because the "collectd" package does not contain any binaries / shared objects and, thus, dh_shlibdeps would not call dpkg-shlibdeps at all. --- debian/control | 2 +- debian/rules | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index 0db3ef0..a801e70 100644 --- a/debian/control +++ b/debian/control @@ -118,7 +118,7 @@ Description: statistics collection and monitoring daemon (core system) Package: collectd Architecture: any -Depends: collectd-core, ${misc:Depends} +Depends: collectd-core, ${shlibs:Depends}, ${misc:Depends} Recommends: ${shlibs:Recommends} Description: statistics collection and monitoring daemon collectd is a small daemon which collects system information periodically and diff --git a/debian/rules b/debian/rules index bf00f6e..f5b027b 100755 --- a/debian/rules +++ b/debian/rules @@ -202,8 +202,8 @@ binary-arch: build install-arch dh_makeshlibs -a dh_installdeb -a dh_shlibdeps -a -Ncollectd-core -Ncollectd - dh_shlibdeps -pcollectd \ - -- -edebian/collectd-core/usr/lib/collectd/rrdtool.so + dpkg-shlibdeps -Tdebian/collectd.substvars \ + -dDepends debian/collectd-core/usr/lib/collectd/rrdtool.so dpkg-shlibdeps -Tdebian/collectd-core.substvars \ -dDepends debian/collectd-core/usr/sbin/* \ -dSuggests debian/collectd-core/usr/lib/collectd/*.so -- 2.30.2