laforge has submitted this change. (
https://gerrit.osmocom.org/c/osmo-e1d/+/30517 )
Change subject: contrib/spec: add /etc/osmocom/osmo-e1d.cfg
......................................................................
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(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
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
https://gerrit.osmocom.org/c/osmo-e1d/+/30517
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I4ffa23f7ab26b7ed3cba04aed4f57eeaa3edca31
Gerrit-Change-Number: 30517
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged