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
This commit is contained in:
Oliver Smith 2022-12-08 14:54:34 +01:00
parent f42b490064
commit df67b3535a
1 changed files with 2 additions and 1 deletions

View File

@ -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.*