Renaming/replacing package - problem on openSUSE 11.1

Hi,

I would like to replace the OpenSUSE package “Modules” with a newer package “environment-modules” (Fedora/RHEL name). In the environment-modules.spec file I have

Provides: Modules = %{version}
Obsoletes: Modules < %{version}

This leads to

rpm -q --provides environment-modules
Modules = 3.2.6
environment-modules = 3.2.6-23.1

rpm -q --obsoletes environment-modules
Modules < 3.2.6

The openSUSE Modules RPM has the version 3.1.6 (Modules-3.1.6-38.112). Epoch is for both packages equal “none”. I can install my environment-modules RPM with rpm -Uhv. However, if I run “zypper update” on a openSUSE 11.1 system, it wants to replace my newer environment-modules RPM :frowning:

Loading repository data…
Reading installed packages…

The following NEW package is going to be installed:
Modules

The following package is going to be REMOVED:
environment-modules

This is only the case for openSUSE 11.1. 10.3 and 11.0 do not want to remove my newer environment-modules RPM.

Why does this happen? Is this a feature or a bug in openSUSE 11.1?

Thanks,
Urs