diff --git a/libcontainers-common.changes b/libcontainers-common.changes index 3a7e6ad..75b91eb 100644 --- a/libcontainers-common.changes +++ b/libcontainers-common.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Apr 12 09:36:39 UTC 2018 - fcastelli@suse.com + +- Added /usr/share/containers/oci/hooks.d and /etc/containers/oci/hooks.d + to the package. These are used by tools like cri-o and podman to store + custom hooks. + ------------------------------------------------------------------- Mon Mar 5 09:30:12 UTC 2018 - vrothberg@suse.com diff --git a/libcontainers-common.spec b/libcontainers-common.spec index ee98b4e..7fa24db 100644 --- a/libcontainers-common.spec +++ b/libcontainers-common.spec @@ -38,10 +38,17 @@ tools, such as skopeo, cri-o and podman. %install install -d -m 0755 %{buildroot}/%{_sysconfdir}/containers +install -d -m 0755 %{buildroot}/%{_sysconfdir}/containers/oci/hooks.d install -D -m 0644 %{SOURCE0} %{buildroot}/%{_sysconfdir}/containers/policy.json +install -d -m 0755 %{buildroot}/%{_prefix}/share/containers/oci/hooks.d %files %dir %{_sysconfdir}/containers +%dir %{_sysconfdir}/containers/oci +%dir %{_sysconfdir}/containers/oci/hooks.d +%dir %{_prefix}/share/containers +%dir %{_prefix}/share/containers/oci +%dir %{_prefix}/share/containers/oci/hooks.d %config(noreplace) %{_sysconfdir}/containers/policy.json %changelog