diff --git a/libcontainers-common.changes b/libcontainers-common.changes index de257d7..3f30012 100644 --- a/libcontainers-common.changes +++ b/libcontainers-common.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 26 12:43:41 UTC 2023 - Frederic Crozat + +- Own /etc/containers/systemd and /usr/share/containers/systemd, + useful for podman quadlet. + ------------------------------------------------------------------- Wed Mar 15 09:17:51 UTC 2023 - Dan Čermák diff --git a/libcontainers-common.spec b/libcontainers-common.spec index 246863a..4eae29d 100644 --- a/libcontainers-common.spec +++ b/libcontainers-common.spec @@ -115,6 +115,8 @@ install -d -m 0755 %{buildroot}/%{_sysconfdir}/containers/oci/hooks.d install -d -m 0755 %{buildroot}/%{_datadir}/containers/oci/hooks.d install -d -m 0755 %{buildroot}/%{_sysconfdir}/containers/registries.d install -d -m 0755 %{buildroot}/%{_sysconfdir}/containers/registries.conf.d +install -d -m 0755 %{buildroot}/%{_sysconfdir}/containers/systemd +install -d -m 0755 %{buildroot}/%{_datadir}/containers/systemd install -D -m 0644 %{SOURCE3} %{buildroot}/%{_sysconfdir}/containers/policy.json install -D -m 0644 %{SOURCE4} %{buildroot}/%{_sysconfdir}/containers/storage.conf @@ -148,9 +150,11 @@ sed -i 's/ostree_repo = ""/\#ostree_repo = ""/g' %{_sysconfdir}/containers/stora %dir %{_sysconfdir}/containers/oci/hooks.d %dir %{_sysconfdir}/containers/registries.d %dir %{_sysconfdir}/containers/registries.conf.d +%dir %{_sysconfdir}/containers/systemd %dir %{_datadir}/containers %dir %{_datadir}/containers/oci %dir %{_datadir}/containers/oci/hooks.d +%dir %{_datadir}/containers/systemd %config(noreplace) %{_sysconfdir}/containers/policy.json %config(noreplace) %{_sysconfdir}/containers/storage.conf