*.spec.in: Use %config(noreplace) to retain current config file

Change-Id: I4e7f0a44d5e2d132b24ca0f38dc6f520b59112da
This commit is contained in:
Harald Welte 2020-06-22 15:20:33 +02:00
parent cfd307b4e8
commit 90dedcb2e7
1 changed files with 3 additions and 3 deletions

View File

@ -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