osmo-mgw.spec.in: Use %config(noreplace) to retain current config file

Change-Id: I37c130d9715a6826cc338f77edcd3cbec762fffd
This commit is contained in:
Harald Welte 2020-06-22 14:20:53 +02:00
parent e674345e29
commit 41f77d8018
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%{_bindir}/osmo-mgw
%{_unitdir}/osmo-mgw.service
%dir %{_sysconfdir}/osmocom
%config %{_sysconfdir}/osmocom/osmo-mgw.cfg
%config(noreplace) %{_sysconfdir}/osmocom/osmo-mgw.cfg
%files -n libosmo-mgcp-client6
%{_libdir}/libosmo-mgcp-client.so.6*