Am Donnerstag, 16. Juli 2009 15:11:26 schrieb Dominique Leuenberger:
On 7/16/2009 at 15:04, Andre Hübner
wrote: ;)
Dont do that then ;-) seriously ... explain what the real usecase is.. so we can give you some ideas..
in former realease of packaging to much and ominous scripts were used. some
historical internal requirements... i want to avoid that package is installed as update. best way would be to enforce that old release is uninstalled before current package gets installed.
That sounds like a Conflicts: $oldpkg
Alternative is to use: Provides: $oldpackage Obsoletes: $oldpackage than the old package will get deinstalled and the new one gets installed. Downside is that the old package can not be installed in parallel. bye adrian
This will stop RPM from installing new package while old package is installed.
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org