Andre Hübner wrote:
That sounds like a Conflicts: $oldpkg
I tried but i think i cant use it. Its in my case not a conflict with other package which could be named as conflict. In my deplorable case the package ""conflicts"" with former release. name/version is still the same, just release is changed. adding a conflict to$pkg < %{version}-%{release} does not work/gets ignored. all i want ist that package is not used as update, all former releases should be uninstalled before installing this release, because i expect some trouble by these old %preun scriplets ;(
Use provides and obsoletes like Adrian suggested.
Thanks, Andre
-- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o openSUSE Community Multiplier Team Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org