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

Change-Id: Ia6a279e4e19eee8368219e3bc1b011802b1fcadc
This commit is contained in:
Harald Welte 2020-06-22 14:18:30 +02:00 committed by laforge
parent 405f17a98c
commit 8ac169f7ed
1 changed files with 2 additions and 2 deletions

View File

@ -185,14 +185,14 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%files lms
%{_bindir}/osmo-trx-lms
%dir %{_sysconfdir}/osmocom
%config %{_sysconfdir}/osmocom/osmo-trx-lms.cfg
%config(noreplace) %{_sysconfdir}/osmocom/osmo-trx-lms.cfg
%{_unitdir}/osmo-trx-lms.service
%endif
%files uhd
%{_bindir}/osmo-trx-uhd
%dir %{_sysconfdir}/osmocom
%config %{_sysconfdir}/osmocom/osmo-trx-uhd.cfg
%config(noreplace) %{_sysconfdir}/osmocom/osmo-trx-uhd.cfg
%{_unitdir}/osmo-trx-uhd.service
%if ! 0%{?centos_ver}