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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Mon Jun 22 12:18:58 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/18957 )


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

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

Change-Id: Ia6a279e4e19eee8368219e3bc1b011802b1fcadc
---
M contrib/osmo-trx.spec.in
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/57/18957/1

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

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/18957
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ia6a279e4e19eee8368219e3bc1b011802b1fcadc
Gerrit-Change-Number: 18957
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200622/dc40e046/attachment.htm>


More information about the gerrit-log mailing list