pythonegg deps handling in rpm versions

Elan Ruusamäe glen at delfi.ee
Sun Jan 27 20:18:32 CET 2013


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?

-- 
glen


More information about the pld-devel-en mailing list