I should have said that I&#39;m also packaging the php/php53 foo/bar dependencies.<div>So maybe I just forgot some &quot;Conflicts&quot; tags (my bad).</div><div>Taking a look at it...</div><div><br></div><div><br><div class="gmail_quote">
On Thu, Sep 6, 2012 at 1:30 PM, Michael Schwendt <span dir="ltr">&lt;<a href="mailto:mschwendt@gmail.com" target="_blank">mschwendt@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, 6 Sep 2012 13:03:07 +0200, indent man wrote:<br>
<br>
&gt; &gt; Make the dependencies more specific.<br>
&gt; &gt;<br>
&gt; &gt; Add dependencies on package names and/or specific versions. Use RPM to<br>
&gt; &gt; examine the package&#39;s current &quot;Requires&quot; (both the automatically added<br>
&gt; &gt; ones as well as manually added ones) and the PHP package&#39;s &quot;Provides&quot;.<br>
&gt; &gt;<br>
&gt; &gt; If multiple packages provide the same thing, Yum assumes that either one<br>
&gt; &gt; can be used to resolve a dependency.<br>
&gt; &gt;<br>
&gt;<br>
&gt; Ok, I hoped yum would not to choose conflicting providers.<br>
&gt; Since it does,<br>
<br>
</div>It doesn&#39;t. And it cannot know that a package that provides &quot;php(foo)&quot;<br>
isn&#39;t sufficient for a simple dependency on &quot;php(foo)&quot;. How would it<br>
know about a version requirement without any such version in the<br>
dependency?<br>
<br>
The terminology with regard to &quot;conflicts&quot; is different, btw. Packages<br>
conflict only if there are explicit &quot;Conflicts:&quot; tags in them, or if they<br>
contain conflicting files in the same path (aka &quot;implicit conflict&quot;).<br>
<br>
Assumably, the two php(foo) providers can be installed in parallel even.<br>
So, they don&#39;t conflict. It&#39;s really just that you need to be more<br>
specific about which version of php(foo) to install/depend on.<br>
<div class="im"><br>
&gt; I suppose I&#39;d better provide 2 separate packages for my app<br>
&gt; with explicit dependencies.<br>
<br>
</div>Of course! There is no way to guess which version of PHP you need.<br>
That version must be specified in the dependencies wherever it matters.<br>
<div class="im"><br>
--<br>
Fedora release 17 (Beefy Miracle) - Linux 3.5.3-1.fc17.x86_64<br>
</div>loadavg: 0.08 0.25 0.29<br>
<div class="HOEnZb"><div class="h5">--<br>
packaging mailing list<br>
<a href="mailto:packaging@lists.fedoraproject.org">packaging@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/packaging" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/packaging</a></div></div></blockquote></div><br></div>