]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Have modules depend on a particular version of libfreeswitch1
authorTravis Cross <tc@traviscross.com>
Mon, 3 Jun 2013 06:13:35 +0000 (06:13 +0000)
committerTravis Cross <tc@traviscross.com>
Mon, 3 Jun 2013 06:14:58 +0000 (06:14 +0000)
At this point we never want someone running a module against a
different version of FS than the module was built for.  It's also
conceivable that you could want to use the modules with libfreeswitch1
even if you weren't running FS itself.

debian/bootstrap.sh

index 2cd752fbcb554e6963a5ba5a967f6cd5abc8237e..358222f9cc14672995c8f862e630b497e4919d06 100755 (executable)
@@ -744,7 +744,7 @@ print_mod_control () {
 Package: freeswitch-${module_name//_/-}
 Section: ${m_section}
 Architecture: any
-$(debian_wrap "Depends: \${shlibs:Depends}, \${misc:Depends}, freeswitch, ${depends}")
+$(debian_wrap "Depends: \${shlibs:Depends}, \${misc:Depends}, libfreeswitch1 (= \${binary:Version}), ${depends}")
 $(debian_wrap "Recommends: ${recommends}")
 $(debian_wrap "Suggests: freeswitch-${module_name//_/-}-dbg, ${suggests}")
 Description: ${description} for FreeSWITCH