Skip to content

Commit

Permalink
containerd2: Add Provides/Obsoletes: containerd
Browse files Browse the repository at this point in the history
  • Loading branch information
liunan-ms committed Feb 3, 2025
1 parent 2eed56f commit ac8d42f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion SPECS/containerd2/containerd2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Summary: Industry-standard container runtime
Name: %{upstream_name}2
Version: 2.0.0
Release: 3%{?dist}
Release: 4%{?dist}
License: ASL 2.0
Group: Tools/Container
URL: https://www.containerd.io
Expand All @@ -27,6 +27,10 @@ BuildRequires: systemd-rpm-macros

Requires: runc >= 1.2.2

# This package replaces the old name of containerd
Provides: containerd = %{version}-%{release}
Obsoletes: containerd < %{version}-%{release}

%description
containerd is an industry-standard container runtime with an emphasis on
simplicity, robustness and portability. It is available as a daemon for Linux
Expand Down Expand Up @@ -81,6 +85,9 @@ fi
%dir /opt/containerd/lib

%changelog
* Mon Feb 03 2025 Nan Liu <[email protected]> - 2.0.0-4
- Add "Provides/Obsoletes: containerd" to shift all installs of containerd to containerd2

* Sun Jan 26 2024 Mitch Zhu <[email protected]> - 2.0.0-3
- Added patch to support tardev-snapshotter for Kata CC.

Expand Down

0 comments on commit ac8d42f

Please sign in to comment.