laforge submitted this change.

View Change

Approvals: Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve laforge: Looks good to me, approved
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
---
M contrib/osmo-e1d.spec.in
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 @@
%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 @@
%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.*

To view, visit change 30517. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I4ffa23f7ab26b7ed3cba04aed4f57eeaa3edca31
Gerrit-Change-Number: 30517
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-MessageType: merged