From df67b3535a747c35bfe076122cbd3de914961a5b Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Thu, 8 Dec 2022 14:54:34 +0100 Subject: [PATCH] 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 --- contrib/osmo-e1d.spec.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.*