From 8ac169f7ed0e45ab630109a72c2ee039b49e2866 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 22 Jun 2020 14:18:30 +0200 Subject: [PATCH] osmo-trx.spec.in: Use %config(noreplace) to retain current config file Change-Id: Ia6a279e4e19eee8368219e3bc1b011802b1fcadc --- contrib/osmo-trx.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/osmo-trx.spec.in b/contrib/osmo-trx.spec.in index fa46b74a..aebd355e 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}