<div class="gmail_quote">On Fri, Feb 13, 2009 at 3:42 PM, Tom Lane <span dir="ltr">&lt;<a href="mailto:tgl@redhat.com">tgl@redhat.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="Ih2E3d">David Woodhouse &lt;<a href="mailto:dwmw2@infradead.org">dwmw2@infradead.org</a>&gt; writes:<br>
&gt; On Tue, 2009-02-10 at 12:12 +0200, Manuel Wolfshant wrote:<br>
&gt;&gt; personally I would compile twice, once enabling mysql and another time<br>
&gt;&gt; pgsql, and create 2 packages. each package would install a<br>
&gt;&gt; &quot;motion-dbname&quot; binary, and a symlink would allow access via the well<br>
&gt;&gt; known name &quot;motion&quot;. Using alternatives would allow a switch between the<br>
&gt;&gt; two.<br>
<br>
&gt; The better option would be to make the program use loadable plugins for<br>
&gt; database support.<br>
<br>
</div>Well, yeah, but that&#39;s a bit above and beyond what a packager should do.<br>
If he&#39;s also an upstream developer, then he should undertake that<br>
addition with his developer hat on; but it&#39;s *well* beyond the size of<br>
patch that a Fedora package should be carrying.<br>
<br>
In the meantime, separate subpackages sounds like the right plan to me.<br>
One big package would be a bad idea because of all the dependencies<br>
it&#39;d drag in.<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;regards, tom lane<br>
<div><div></div><div class="Wj3C7c"><br>
--<br>
fedora-devel-list mailing list<br>
<a href="mailto:fedora-devel-list@redhat.com">fedora-devel-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-devel-list</a><br>
</div></div></blockquote></div><br><div>Why can&#39;t RPM packages have a Requires saying &quot;mysql OR postgresql&quot; or something like that? That would be useful for web packages, especially ones like phpBB, Enano, MediaWiki, and others...<br>
</div>