On 2007-12-06 12:27:32 +0100, Lars Vogdt wrote:
> On Donnerstag, 6. Dezember 2007 03:48:17 Cristian Rodríguez wrote:
> > Christian Boltz escribió:
> > > - php-mysql and/or php-pgsql? One of them is always unused, but you
> > >   never know which one in advance (from RPM's POV)
> >
> > Both now provides php_any_db virtual package.
> 
> This is one step - but what about the databases themselves?
> Currently MySQL provides mysql, PostGreSQL provides postgresql - what 
> should a package recommend, which runs with both databases?
> 
> As  these two are the most supported databases in the open source world, 
> we should perhaps also think about a virtual provides for this two at 
> least. 
> 
> Whats the minimal SQL standard both support? 
> Perhaps we can add a virtual provides like "Provides: SQL2" 
> or "Provides: SQL-92" - so an application with a generic SQL interface 
> just have to require a SQL-92 compatible database...

package: postfixadmin-mysql
         Requires: php5-mysql
         Requires: postfixadmin-php
         Recommends: mysql

package: postfixadmin-pgsql
         Requires: php5-pgsql
         Requires: postfixadmin-php
         Recommends: postgresql-server

package: postfixadmin-php
         Recommends: postfix mod_php_any


if you really want you can add a "Provides: postfixadmin_backend" and
add an empty postfixadmin package that requires postfixadmin_backend.

just my 2 cents

    darix

-- 
           openSUSE - SUSE Linux is my linux
               openSUSE is good for you
                   www.opensuse.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to