From: Sebastian Harl Date: Tue, 22 Dec 2009 23:44:58 +0000 (+0100) Subject: rules: Use dpkg-shlibdeps, rather than dh_shlibdeps to get collectd's deps. X-Git-Tag: collectd-4.8.2-1~15 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=33bcb730268478e705b338df090cb2b64192c686;p=pkg-collectd.git 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. --- 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