On Wed, Apr 23, 2008 at 2:04 PM, Panu Matilainen &lt;<a href="mailto:pmatilai@redhat.com">pmatilai@redhat.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Wed, 23 Apr 2008, devzero2000 wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I don&#39;t think it is right to use context marked dependency (e.g.<br>
scriptlet deps ordering ) for ordering package installation, if the<br>
packages<br>
don&#39;t use these in first place<br>
(<a href="http://www.rpm.org/max-rpm-snapshot/s1-rpm-depend-manual-dependencies.html" target="_blank">http://www.rpm.org/max-rpm-snapshot/s1-rpm-depend-manual-dependencies.html</a>).<br>
<br>
If&nbsp; absolutely necessary and the automatic deps resolutions of rpm is not<br>
sufficient&nbsp; just use plain&nbsp; Requires: baz<br>
</blockquote>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">There&#39;s nothing &quot;wrong&quot; in using context marked dependencies. In fact they&#39;re often the only way to ensure correct ordering in complex package sets / transactions (notably due to dependency loops that creep into packaging all too easily).<br>
</blockquote></div><blockquote><font color="#888888">
</font><br><font color="#888888">
 &nbsp; &nbsp; &nbsp; &nbsp;- Panu -</font></blockquote></blockquote></div>Yes, I know. Perhaps this one is an example <a href="https://bugzilla.redhat.com/show_bug.cgi?id=437041">https://bugzilla.redhat.com/show_bug.cgi?id=437041</a><br><br>
My position is that solving the rpm problems on dependency loop or bad rpm package would be better instead
of using workaround solutions. I
hope that you agreed on this. <br><br>I call workround because isn&#39;t elegant to have in the, for example, &quot;baz&quot; SPEC file Requires(pre): bar and &quot;baz&quot; not having an %pre section that call something of &quot;bar&quot;. Al least, the meaning isn&#39;t obvious, almost for most people.<br>
<br>I could be wrong. If so it would be useful&nbsp; to
update the document, for example, &quot;Fedora Packaging Guideline&quot; and defining the &quot;context marked dependecy&quot; how a best practices, in some situation, to
assure the rpm install ordering, also if aren&#39;t defined any scriptlet section.<br><br>OK. In effect we disgress from the original question. <b><br><br></b>Sorry if the subject wasn&#39;t on the point. In every case look interesting<b>.</b> <br>
<br>Best Regards<br><b><br><br><br></b><br><br><br><br>