Change in osmo-sgsn[master]: *.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
Wed Jun 24 05:24:55 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/18962 )

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

*.spec.in: Use %config(noreplace) to retain current config file

Change-Id: I4e7f0a44d5e2d132b24ca0f38dc6f520b59112da
---
M contrib/osmo-sgsn.spec.in
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/contrib/osmo-sgsn.spec.in b/contrib/osmo-sgsn.spec.in
index f9fe208..d6a8078 100644
--- a/contrib/osmo-sgsn.spec.in
+++ b/contrib/osmo-sgsn.spec.in
@@ -115,7 +115,7 @@
 %{_docdir}/%{name}/examples/osmo-sgsn/osmo-sgsn_custom-sccp.cfg
 %{_bindir}/osmo-sgsn
 %dir %{_sysconfdir}/osmocom
-%config %{_sysconfdir}/osmocom/osmo-sgsn.cfg
+%config(noreplace) %{_sysconfdir}/osmocom/osmo-sgsn.cfg
 %{_unitdir}/%{name}.service
 
 %files -n osmo-gtphub
@@ -125,7 +125,7 @@
 %{_docdir}/%{name}/examples/osmo-gtphub/osmo-gtphub.cfg
 %{_bindir}/osmo-gtphub
 %dir %{_sysconfdir}/osmocom
-%config %{_sysconfdir}/osmocom/osmo-gtphub.cfg
+%config(noreplace) %{_sysconfdir}/osmocom/osmo-gtphub.cfg
 %{_unitdir}/osmo-gtphub.service
 
 %files -n osmo-gbproxy
@@ -135,7 +135,7 @@
 %{_docdir}/%{name}/examples/osmo-gbproxy/osmo-gbproxy.cfg
 %{_bindir}/osmo-gbproxy
 %dir %{_sysconfdir}/osmocom
-%config %{_sysconfdir}/osmocom/osmo-gbproxy.cfg
+%config(noreplace) %{_sysconfdir}/osmocom/osmo-gbproxy.cfg
 %{_unitdir}/osmo-gbproxy.service
 
 %changelog

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

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I4e7f0a44d5e2d132b24ca0f38dc6f520b59112da
Gerrit-Change-Number: 18962
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200624/a719430f/attachment.htm>


More information about the gerrit-log mailing list