From 5e344df304e071d080109e1e0d6fa0dc86fb2056 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Mon, 9 Dec 2013 09:18:38 +0000 Subject: [PATCH] Correct shlibs of freeswitch-all wrt libfreeswitch1 The freeswitch-all package provides libfreeswitch1, so any shlibs-generated dependency should be for libfreeswitch1 rather than freeswitch-all. Because dh_shlibdeps / dpkg-shlibdeps searches for shlibs files in debian/*/DEBIAN/ it was sometimes using freeswitch-all rather than libfreeswitch1 to satisfy dependencies for freeswitch.so.1. FS-6029 --resolve --- debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/rules b/debian/rules index 7d7d50fd71..0eb01ee422 100755 --- a/debian/rules +++ b/debian/rules @@ -106,6 +106,12 @@ override_dh_installinit: dh_installinit -pfreeswitch-sysvinit --name=freeswitch dh_installinit -pfreeswitch-all --name=freeswitch +override_dh_makeshlibs: + dh_makeshlibs + sed \ + -e '/^libfreeswitch 1/{s/freeswitch-all/libfreeswitch1/g}' \ + -i debian/freeswitch-all/DEBIAN/shlibs + debian-bootstrap: debian/.stamp-bootstrap debian/.stamp-bootstrap: (cd debian && ./bootstrap.sh)