contrib: fix team sub-package obsoletes

Team was split out between NM 0.9.10 and NM 1.0 after the other
sub-packages, so the existing obsoletes won't work for it (they
would cause all upgrades to install all sub-packages, instead
of replacing existing sub-packages without adding uninstalled
ones).  We only want to unconditionally add the team sub-package.
This commit is contained in:
Dan Williams 2014-12-22 09:48:22 -06:00
parent 3cbce6994a
commit 3aede80152

View file

@ -224,6 +224,8 @@ Group: System Environment/Base
BuildRequires: teamd-devel
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
Obsoletes: NetworkManager < %{obsoletes_nmver}
# Team was split from main NM binary between 0.9.10 and 1.0
Obsoletes: NetworkManager < 1.0.0
%description team
This package contains NetworkManager support for team devices.