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

Change-Id: I4bf84faef873ef18797d08bbf789ae260922a1e2
changes/63/18963/1
Harald Welte 2 years ago
parent 57b21d479b
commit b80fcf0bd7
  1. 6
      contrib/osmo-remsim.spec.in

@ -193,7 +193,7 @@ make %{?_smp_mflags} check || find . -name testsuite.log -exec cat {} +
%files -n osmo-remsim-bankd
%{_bindir}/osmo-remsim-bankd
%{_unitdir}/osmo-remsim-bankd.service
%config %{_sysconfdir}/default/osmo-remsim-bankd
%config(noreplace) %{_sysconfdir}/default/osmo-remsim-bankd
%files -n osmo-remsim-client-shell
%{_bindir}/osmo-remsim-client-shell
@ -201,7 +201,7 @@ make %{?_smp_mflags} check || find . -name testsuite.log -exec cat {} +
%files -n osmo-remsim-client-st2
%{_bindir}/osmo-remsim-client-st2
%{_unitdir}/osmo-remsim-client*
%config %{_sysconfdir}/default/osmo-remsim-client*
%config(noreplace) %{_sysconfdir}/default/osmo-remsim-client*
%files -n libifd-osmo-remsim-client0
%if 0%{?centos_ver}
@ -211,6 +211,6 @@ make %{?_smp_mflags} check || find . -name testsuite.log -exec cat {} +
%dir %{_libdir}/readers/libifd-osmo-remsim-client.bundle
%{_libdir}/readers/libifd-osmo-remsim-client.bundle/*
%endif
%config %{_sysconfdir}/reader.conf.d/osmo-remsim-client-reader_conf
%config(noreplace) %{_sysconfdir}/reader.conf.d/osmo-remsim-client-reader_conf
%changelog

Loading…
Cancel
Save