Re: [opensuse-packaging] Which dependencies should I set?
Lars Vogdt escribió: > 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. That's the way that will be used in openSUSE 11 ;) > 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... not very useful in the particular case, since the condition is not the used SQL standard but about what particualr PHP driver the application supports.. -- "The only thing that interferes with my learning is my education." - Albert Einstein Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-packaging] How to deal with Python .pyc and .pyo files?
jan matejek wrote: > Michal Marek napsal(a): >> So... could python stop reporting errors in such cases and just silently >> ignore the precompiled files? For mere mortals it's hard to understand >> that they can use the same package with ELF binaries for years, but have >> to rebuild python packages each time the python bytecode format changes. > > well sorry if python bytecode format changes more often than ELF standard :P > There was no major (read 'incompatible') change since 2.0 release, i > just went through the changelogs. Then this is one more reason not to install python stuff into a versioned directory. I thought the whole point of using .../python-$major.$minor is to avoid problems with incompatible bytecode files. Michal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-packaging] Which dependencies should I set?
Christian Boltz wrote: > Hello, > > I have an interesting question: Which dependencies should I set for > Postfixadmin? (package is postfixadmin-svn in home:cboltz, specfile is > attached for easier access) > > Short summary: > - Postfixadmin is a PHP web interface, used for administration of > virtual domains in postfix > - it can use MySQL and PostgreSQL as database > > Now to the dependency problems: > - php-mysql and/or php-pgsql? One of them is always unused, but you > never know which one in advance (from RPM's POV) > - Should I require MySQL and/or PostgreSQL? You never know which one is > used, and accessing the database on another machine is also possible, > so technically none of them is really needed. > - Should I require Postfix? Sure, Postfixadmin is used to administrate > it, but it's the same as with MySQL: It could run on another machine. Hmm, wouldn't that be a nice use-case for patterns / YMPs? ;-) http://en.opensuse.org/Build_Service_Tutorial#Create_Patterns Michal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-packaging] Which dependencies should I set?
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]
Re: [opensuse-packaging] Which dependencies should I set?
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... Regards, Lars - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]