aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-06-22 15:20:33 +0200
committerHarald Welte <laforge@osmocom.org>2020-06-22 15:20:33 +0200
commit90dedcb2e7f308f4bd8d702b1d47b96ca60d1a4d (patch)
treecbf9e87af351f06cbd2964d2348cffcf1c0d129f
parentcfd307b4e881924c6b0ced539e9aa86cd55d6967 (diff)
*.spec.in: Use %config(noreplace) to retain current config file
-rw-r--r--contrib/osmo-sgsn.spec.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/osmo-sgsn.spec.in b/contrib/osmo-sgsn.spec.in
index f9fe2086..d6a80789 100644
--- a/contrib/osmo-sgsn.spec.in
+++ b/contrib/osmo-sgsn.spec.in
@@ -115,7 +115,7 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%{_docdir}/%{name}/examples/osmo-sgsn/osmo-sgsn_custom-sccp.cfg
%{_bindir}/osmo-sgsn
%dir %{_sysconfdir}/osmocom
-%config %{_sysconfdir}/osmocom/osmo-sgsn.cfg
+%config(noreplace) %{_sysconfdir}/osmocom/osmo-sgsn.cfg
%{_unitdir}/%{name}.service
%files -n osmo-gtphub
@@ -125,7 +125,7 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%{_docdir}/%{name}/examples/osmo-gtphub/osmo-gtphub.cfg
%{_bindir}/osmo-gtphub
%dir %{_sysconfdir}/osmocom
-%config %{_sysconfdir}/osmocom/osmo-gtphub.cfg
+%config(noreplace) %{_sysconfdir}/osmocom/osmo-gtphub.cfg
%{_unitdir}/osmo-gtphub.service
%files -n osmo-gbproxy
@@ -135,7 +135,7 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%{_docdir}/%{name}/examples/osmo-gbproxy/osmo-gbproxy.cfg
%{_bindir}/osmo-gbproxy
%dir %{_sysconfdir}/osmocom
-%config %{_sysconfdir}/osmocom/osmo-gbproxy.cfg
+%config(noreplace) %{_sysconfdir}/osmocom/osmo-gbproxy.cfg
%{_unitdir}/osmo-gbproxy.service
%changelog