Well the easiest fix for this specific problem is to not adversise those abilities from the rpm, rpm figures those out automagically using ldd on every executable in an rpm file list, you can easily turn that off by adding this to your spec file:
<br><br>AutoReqProv: no<br><br>Then you just need to build the appropriate Provides: line in the spec file for what it does provide, freeswitch.<br><br><div><span class="gmail_quote">On 10/21/06, <b class="gmail_sendername">
Peter Nixon</b> &lt;<a href="mailto:listuser@peternixon.net">listuser@peternixon.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Matt<br><br>I am aware that it has been discussed previously. I am aware that some of the<br>libs have extra patches, and I am happy to build packages for them also that<br>include the patches. I DO have freeswitch built in rpm form. (See for example
<br><a href="http://software.opensuse.org/download/server:/telephony/SUSE_Factory/x86_64/freeswitch-snapshot-20061017-16.1.x86_64.rpm">http://software.opensuse.org/download/server:/telephony/SUSE_Factory/x86_64/freeswitch-snapshot-20061017-16.1.x86_64.rpm
</a>)<br><br>The problem is what the FREESWITCH rpm does to the rest of the system when you<br>have it available in a repository.<br><br>Take for example the error messages I posted. They state that when someone<br>tries to install &quot;grep&quot; on their system (assuming that they dont have it) rpm
<br>considers freeswitch-snapshot as a possible providor of &quot;pcre&quot;. Likewise if<br>they want to install something that relies on spandsp or sqlite it will try<br>to install freeswitch to satify the dependency..<br>
<br>Do you see the problem?<br><br>-Peter<br><br>On Sat 21 Oct 2006 13:26, Matt Klein wrote:<br>&gt; Peter,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This has been discussed. Issues on current are, some of the..<br>&gt; necessary code additions/modifications to the libs may or may not ever be
<br>&gt; available in your external libs.<br>&gt;<br>&gt; Please advise on how you suggest we proceed.<br>&gt;<br>&gt; Are you exporting LD_LIBRARY_PATH to /usr/local/freeswitch/lib prior?<br>&gt;<br>&gt; thx<br>&gt; -m<br>
&gt;<br>&gt; On Sat, 21 Oct 2006, Peter Nixon wrote:<br>&gt; &gt; Hi Guys<br>&gt; &gt;<br>&gt; &gt; Here is the result of building a freeswitch package with all of its<br>&gt; &gt; dependencies inline. It confuses the hell out of rpm when you go an try
<br>&gt; &gt; to build OTHER packages that rely on those dependencies which are already<br>&gt; &gt; provided by standard packages:<br>&gt; &gt;<br>&gt; &gt; Fedora_Extras_5&nbsp;&nbsp;i586&nbsp;&nbsp;expansion error<br>&gt; &gt; have choice for 
libpcre.so.0 needed by grep: freeswitch-snapshot pcre<br>&gt; &gt; have choice for libsqlite3.so.0 needed by rpm-libs: freeswitch-snapshot<br>&gt; &gt; sqlite have choice for libsqlite3.so.0 needed by rpm: freeswitch-snapshot
<br>&gt; &gt; sqlite have choice for libsqlite3.so.0 needed by rpm-build:<br>&gt; &gt; freeswitch-snapshot sqlite<br>&gt; &gt;<br>&gt; &gt; Now, I CAN work around this by manually specifying preferences for each<br>&gt; &gt; of these packages in ALL of my other builds but this is really bad karma
<br>&gt; &gt; and requires me to screw around with almost 50 other packages just to<br>&gt; &gt; have the pleasure of building freeswitch. ick..<br>&gt; &gt;<br>&gt; &gt; Please please fix the build so that it will use external libs if they are
<br>&gt; &gt; available. I will happily package any external libs that are required<br>&gt; &gt; (infact I already have done so) and can apply patches to any that need<br>&gt; &gt; them.<br>&gt; &gt;<br>&gt; &gt; Cheers<br>
&gt; &gt; --<br>&gt; &gt;<br>&gt; &gt; Peter Nixon<br>&gt; &gt; <a href="http://www.peternixon.net/">http://www.peternixon.net/</a><br>&gt; &gt; PGP Key: <a href="http://www.peternixon.net/public.asc">http://www.peternixon.net/public.asc
</a><br>&gt;<br>&gt; _______________________________________________<br>&gt; Freeswitch-dev mailing list<br>&gt; <a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev">
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>&gt; 
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br><br>--<br><br>Peter Nixon<br><a href="http://www.peternixon.net/">http://www.peternixon.net/</a><br>PGP Key: <a href="http://www.peternixon.net/public.asc">
http://www.peternixon.net/public.asc</a><br><br><br>_______________________________________________<br>Freeswitch-dev mailing list<br><a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org
</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev">
http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br><br><br><br></blockquote></div><br>