From 5c6a1e25b94b5039e41a3e637fceea02d4c0872d Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Wed, 13 May 2020 08:53:16 -0400 Subject: [PATCH] Revert "remove libpod.conf" This reverts commit de678920adaf87872e09187d3c3f7e17cfa9d3bd. --- podman.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/podman.spec b/podman.spec index c94fb1a..1a6d409 100644 --- a/podman.spec +++ b/podman.spec @@ -477,6 +477,9 @@ export GOPATH=$(pwd)/_build:$(pwd) popd %install +%if 0%{?fedora} +sed -s 's/^runtime[ =].*"runc/runtime = "crun/' libpod.conf -i +%endif rm -rf docs/containers-mounts.conf.5.md install -dp %{buildroot}%{_unitdir} @@ -607,6 +610,7 @@ exit 0 %dir %{_datadir}/zsh/site-functions %{_datadir}/zsh/site-functions/_%{name} %config(noreplace) %{_sysconfdir}/cni/net.d/87-%{name}-bridge.conflist +%{_datadir}/containers/%{repo}.conf %{_unitdir}/io.%{name}.service %{_unitdir}/io.%{name}.socket %{_userunitdir}/io.%{name}.service