php 5.2

Elan Ruusamäe glen at delfi.ee
Wed Nov 8 00:06:38 CET 2006


On Tuesday 07 November 2006 22:53, Jakub Bogusz wrote:
> > but how to do that so that it won't obsolete php4-pcre which has:
> > $ q php4-pcre --provides
> > php-pcre = 3:4.4.4-5
> >
> > bump epoch+=2 so that php4 has epoch=5 and php5 has epoch=6?
>
> No, very ugly.
agree.

> Maybe let's drop "php-module" Provides in php4 and use (versioned?)
> "php(module)" Provides in both versions (and update deps in other
> packages)?
> Using virtual Provides with other _real_ package name brings many
> troubles and should be avoided.

versions are needed, some packages work with php4, some with php5.
but that could be solved by macthing php-common >= 4:4.4.3 or the like...
so the versions in virtuals aren't necessarily needed...

haven't seen yet where there could be need to specify:
php-common >= 4:4.1.0
php-pcre >= 4:4.4.0

but if to go with versions in virtuals, then it's going to be like :
php(pcre) = 5.2.0?

ie no epoches around those virtuals?

-- 
glen


More information about the pld-devel-en mailing list