On Mittwoch, 7. Mai 2008 11:33:23 Thorsten Kukuk wrote:
In an ideal world, the obsolete/provides-version should contain the exact version number of the obsoleted old package.
AGAIN:
if Provides only contains a "=", which version number should I add? The one from openSUSE 10.1?
oldpac-version 0.8
The one from openSUSE 10.2?
oldpac-version 0.9
The one from openSUSE 10.3?
oldpac-version 1.0
The one from SLE10 SPX?
oldpac-version 0.85 Now you want to obsolete all packages above in openSUSE 11.0: newpac-version xy Provides: oldpac = 1.0 Obsoletes: oldpac <= 1.0 ^^^^ Packages requiring "oldpac" at least in version 1.0 would be fine with Provides: oldpac = 1.0 The oldpac can be deleted because Obsoletes: oldpac <= 1.0 would fit all the other versions above. So the mix is the solution: the Provides is only necessary to make other packages happy which require oldpac. The Obsoletes allows RPM to install newpac instead of oldpac (and this for all versions <= 1.0).
Thanks for reading what I wrote,
dito ;-) Lars --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org