Flavio, can you give an opinion on this? Thanks,
Ben. On Tue, Jan 22, 2019 at 03:02:30PM -0800, Greg Rose wrote: > From: Martin Xu <[email protected]> > > This patch removes the "Conflicts" tag and adds "Obsoletes" tag. > > With the conflicts tag, when a user attempts to install or upgrade with > the same version as already installed, the conflict kicks in. Otherwise, > such is allowed with --replacepkgs. > > Obsoletes is needed for the upgrade path from kmod-openvswitch to > openvswitch-kmod. > > Fixes: 22c33c3039 (rhel: support kmod build against mulitple kernel > versions, fedora) > > VMware-BZ: #2249788 > > Signed-off-by: Martin Xu <[email protected]> > Signed-off-by: Greg Rose <[email protected]> > CC: Flavio Leitner <[email protected]> > CC: Yi-Hung Wei <[email protected]> > CC: Yifeng Sun <[email protected]> > CC: Zak Whittington <[email protected]> > CC: Ben Pfaff <[email protected]> > --- > v1->v2: adds "Obsoletes" tag needed for upgrade after renaming > adds more reviewers > v2-v3: Incorporate Flavio's recommendation to check version and > release values. > --- > rhel/openvswitch-kmod-fedora.spec.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/rhel/openvswitch-kmod-fedora.spec.in > b/rhel/openvswitch-kmod-fedora.spec.in > index 8d54fd7..9a4c489 100644 > --- a/rhel/openvswitch-kmod-fedora.spec.in > +++ b/rhel/openvswitch-kmod-fedora.spec.in > @@ -33,7 +33,7 @@ Source: openvswitch-%{version}.tar.gz > #Source1: openvswitch-init > Buildroot: /tmp/openvswitch-xen-rpm > Provides: kmod-openvswitch > -Conflicts: kmod-openvswitch > +Obsoletes: kmod-openvswitch < %{version}-%{release} > > %description > Open vSwitch provides standard network bridging functions augmented with > -- > 1.8.3.1 > _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
