adjust dependencies for centos v/s fedora
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
567c3048f9
commit
22fc8ba00e
16
podman.spec
16
podman.spec
@ -85,20 +85,24 @@ Requires: iptables
|
|||||||
Requires: nftables
|
Requires: nftables
|
||||||
Requires: conmon
|
Requires: conmon
|
||||||
Requires: %{name}-plugins = %{epoch}:%{version}-%{release}
|
Requires: %{name}-plugins = %{epoch}:%{version}-%{release}
|
||||||
Requires: (container-selinux if selinux-policy)
|
|
||||||
Obsoletes: oci-systemd-hook <= 0.2.0-3
|
Obsoletes: oci-systemd-hook <= 0.2.0-3
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
BuildRequires: btrfs-progs-devel
|
BuildRequires: btrfs-progs-devel
|
||||||
BuildRequires: ostree-devel
|
BuildRequires: ostree-devel
|
||||||
Recommends: libvarlink-util
|
|
||||||
Recommends: slirp4netns >= 0.3.0-2
|
|
||||||
Recommends: fuse-overlayfs >= 0.3-8
|
Recommends: fuse-overlayfs >= 0.3-8
|
||||||
Recommends: runc
|
|
||||||
Requires: crun >= 0.13-2
|
Requires: crun >= 0.13-2
|
||||||
|
%endif
|
||||||
|
%if 0%{?fedora} || 0%{?centos} >= 8
|
||||||
|
Recommends: catatonit
|
||||||
|
Recommends: container-selinux
|
||||||
|
Recommends: libvarlink-util
|
||||||
|
Recommends: runc
|
||||||
|
Recommends: slirp4netns >= 0.3.0-2
|
||||||
%else
|
%else
|
||||||
#### DO NOT REMOVE - NEEDED FOR CENTOS
|
Requires: catatonit
|
||||||
Requires: slirp4netns >= 0.3.0-2
|
Requires: container-selinux
|
||||||
Requires: runc
|
Requires: runc
|
||||||
|
Requires: slirp4netns >= 0.3.0-2
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# vendored libraries
|
# vendored libraries
|
||||||
|
Loading…
Reference in New Issue
Block a user