pythonegg deps handling in rpm versions
Jakub Bogusz
qboosh at pld-linux.org
Mon Jan 28 06:40:55 CET 2013
On Sun, Jan 27, 2013 at 09:18:32PM +0200, Elan Ruusamäe wrote:
> On 2013-01-27 20:29, Elan Ruusamäe wrote:
> >how to handle generated pythonegg versioned deps with aX and bX
> >suffixes?
> >
> >
> >glen at carme-pld-i686 packages/python-pyramid $ rpm -Uhv --test
> >/home/users/glen/rpm/packages/RPMS/python-pyramid-1.4-0.1.noarch.rpm
> >error: Failed dependencies:
> > pythonegg(chameleon) >= 1.2.3 is needed by
> >python-pyramid-1.4-0.1.noarch
> > pythonegg(webob) >= 1.2b3 is needed by
> >python-pyramid-1.4-0.1.noarch
> >
> >so considering webob being Library and and python-pyramid as
> >Application:
> >
> >a) transform <VERSION>a<NUMBER> into <VERSION>-0.a<NUNMBER> in rpm
> >dependency generator?
> >b) make those Provides: manually in Library?
> >c) patch .egg in the Application not to be a7 but foo-0.a7?
> >d) put dep into _noautoFOO in Application and handle dependency
> >version manually?
>
> or even
> e) rename Library to contain aX in it's %{version}
>
> i'm not sure how python version's "grow", is 1.1a1 followed by 1.1 or
> 1.2?
It may be package/developer-specific.
IIRC python itself used N.Ma -> N.Mb -> N.Mc -> N.M
--
Jakub Bogusz http://qboosh.pl/
More information about the pld-devel-en
mailing list