aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-06-22 14:18:30 +0200
committerlaforge <laforge@osmocom.org>2020-06-24 05:25:34 +0000
commit8ac169f7ed0e45ab630109a72c2ee039b49e2866 (patch)
treebc8ccce050f516538412c85852488cf7fb325612
parent405f17a98c463a2d750f1829b431e51d0a57e3b4 (diff)
osmo-trx.spec.in: Use %config(noreplace) to retain current config file
-rw-r--r--contrib/osmo-trx.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/osmo-trx.spec.in b/contrib/osmo-trx.spec.in
index fa46b74..aebd355 100644
--- a/contrib/osmo-trx.spec.in
+++ b/contrib/osmo-trx.spec.in
@@ -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}