From 1defe596f65b442e734f79cd052faeb7418869cd8a6944df996a962af9986cf9 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 24 Mar 2018 15:05:27 +0000 Subject: [PATCH] Accepting request 587881 from devel:CaaSP:Head:ControllerNode autosubmit from concourse OBS-URL: https://build.opensuse.org/request/show/587881 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcontainers-common?expand=0&rev=2 --- libcontainers-common.changes | 9 +++++++++ libcontainers-common.spec | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/libcontainers-common.changes b/libcontainers-common.changes index 2f1aba6..3a7e6ad 100644 --- a/libcontainers-common.changes +++ b/libcontainers-common.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Mar 5 09:30:12 UTC 2018 - vrothberg@suse.com + +- Configuration files should generally be tagged as %config(noreplace) in order + to keep the modified config files and to avoid losing data when the package + is being updated. + + feature#crio + ------------------------------------------------------------------- Thu Feb 8 13:07:24 UTC 2018 - vrothberg@suse.com diff --git a/libcontainers-common.spec b/libcontainers-common.spec index e26516d..ee98b4e 100644 --- a/libcontainers-common.spec +++ b/libcontainers-common.spec @@ -22,7 +22,7 @@ Release: 0 Summary: Configuration files common to github.com/containers License: Apache-2.0 Group: System/Management -URL: https://github.com/containers +Url: https://github.com/containers Source0: policy.json %description @@ -42,6 +42,6 @@ install -D -m 0644 %{SOURCE0} %{buildroot}/%{_sysconfdir}/containers/policy.json %files %dir %{_sysconfdir}/containers -%config %{_sysconfdir}/containers/policy.json +%config(noreplace) %{_sysconfdir}/containers/policy.json %changelog