Guillaume Rousse <[EMAIL PROTECTED]> writes:
[...]
> > http://perso.mandrakesoft.com/~warly/files/policy/
> This document explains how to make a library package conform to new policy
> scheme, but not really how to adapt other package to use it via
> provide/require tags.
> For instance, given current SDL provides tags, how must i now specify that an
> application requires SDL >= 1.1.6 ?
> [guillaume@agathe guillaume]$ rpm -q -provides libSDL1.2
> SDL12 = 1.2.0-2mdk
> libSDL-1.2.so.0
> libSDL1.2 = 1.2.0-2mdk
> [guillaume@agathe guillaume]$ rpm -q -provides libSDL1.2-devel
> libSDL-devel = 1.2.0-2mdk
> libSDL1.2-devel = 1.2.0-2mdk
For compile:
BuildRequires: libSDL-devel >= 1.1.6
For run:
Requires: libSDL1.1 >= 1.1.6
(but it should never be used since sonames indicate compatibility)
--
Guillaume Cottenceau - http://mandrakesoft.com/~gc/