summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4130c62)
raw | patch | inline | side by side (parent: 4130c62)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 22 Dec 2009 23:44:58 +0000 (00:44 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 22 Dec 2009 23:44:58 +0000 (00:44 +0100) |
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.
any binaries / shared objects and, thus, dh_shlibdeps would not call
dpkg-shlibdeps at all.
debian/control | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/control b/debian/control
index 0db3ef0ddf2cc2129e6a7989608dbe9a5b534ce4..a801e706d4980e63a0ff16dd0c17e617644b1488 100644 (file)
--- a/debian/control
+++ b/debian/control
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 bf00f6e28192b263a62b9b91e1f94c1deae858fe..f5b027bf5318819faba8a84374066a729fdc284d 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
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