aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2022-12-08 14:54:34 +0100
committerOliver Smith <osmith@sysmocom.de>2022-12-08 15:59:47 +0100
commitdf67b3535a747c35bfe076122cbd3de914961a5b (patch)
tree0ff80aa3ffd9105784933519f429114cc487fd13
parentf42b490064ebb1c688522d41eb3b80e528992d3a (diff)
contrib/spec: add /etc/osmocom/osmo-e1d.cfg
Fix that the file only got installed to /usr/share as example, but not to /etc/osmocom in the rpm packaging. Related: OS#5817 Change-Id: I4ffa23f7ab26b7ed3cba04aed4f57eeaa3edca31
-rw-r--r--contrib/osmo-e1d.spec.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/osmo-e1d.spec.in b/contrib/osmo-e1d.spec.in
index c836dba..6e607e4 100644
--- a/contrib/osmo-e1d.spec.in
+++ b/contrib/osmo-e1d.spec.in
@@ -87,7 +87,6 @@ autoreconf -fiv
%install
%make_install
find "%buildroot" -type f -name "*.la" -delete -print
-rm -Rf "%buildroot/%_sysconfdir/osmocom"
%check
%make_build check || find . -name testsuite.log -exec cat {} +
@@ -120,6 +119,8 @@ rm -Rf "%buildroot/%_sysconfdir/osmocom"
%dir %_docdir/%name/examples
%_docdir/%name/examples/
%_unitdir/osmo-e1d.service
+%dir %{_sysconfdir}/osmocom
+%config(noreplace) %{_sysconfdir}/osmocom/osmo-e1d.cfg
%files -n libosmo-e1d1
%_libdir/libosmo-e1d.so.*