Skip to content

Commit

Permalink
rpm: correctly obsolete older rpm builds
Browse files Browse the repository at this point in the history
The prior change in #268 didn't completely obsolete older builds of
gvisor-tap-vsock, causing installation conflicts with the official
Fedora builds. This commit should correctly obsolete fedora packages.

Ref: https://cirrus-ci.com/task/5730166412935168

This change should also address installation conflicts in
cockpit-reverse dependency tests on podman upstream

Ref: https://artifacts.dev.testing-farm.io/716a3cac-ab80-4eb8-921c-da3a784b94fb/

Signed-off-by: Lokesh Mandvekar <[email protected]>
  • Loading branch information
lsm5 committed Sep 14, 2023
1 parent f93fe26 commit f82824a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpm/gvisor-tap-vsock.spec
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ dynamic port forwarding.
%package gvforwarder
Summary: %{desc_gvforwarder}
Provides: gvforwarder = %{epoch}:%{version}-%{release}
Obsoletes: %{name} < 6:0.7.0-6
Recommends: %{name} = %{epoch}:%{version}-%{release}

%description gvforwarder
%{desc_gvforwarder}
Expand Down

0 comments on commit f82824a

Please sign in to comment.