<div class="gmail_quote">On Fri, Feb 13, 2009 at 3:42 PM, Tom Lane <span dir="ltr"><<a href="mailto:tgl@redhat.com">tgl@redhat.com</a>></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 <<a href="mailto:dwmw2@infradead.org">dwmw2@infradead.org</a>> writes:<br>
> On Tue, 2009-02-10 at 12:12 +0200, Manuel Wolfshant wrote:<br>
>> personally I would compile twice, once enabling mysql and another time<br>
>> pgsql, and create 2 packages. each package would install a<br>
>> "motion-dbname" binary, and a symlink would allow access via the well<br>
>> known name "motion". Using alternatives would allow a switch between the<br>
>> two.<br>
<br>
> The better option would be to make the program use loadable plugins for<br>
> database support.<br>
<br>
</div>Well, yeah, but that's a bit above and beyond what a packager should do.<br>
If he's also an upstream developer, then he should undertake that<br>
addition with his developer hat on; but it'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'd drag in.<br>
<br>
                        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't RPM packages have a Requires saying "mysql OR postgresql" or something like that? That would be useful for web packages, especially ones like phpBB, Enano, MediaWiki, and others...<br>
</div>