rpm spec: fix invalid file paths

Fix for:
  File not found: /home/abuild/rpmbuild/BUILDROOT/osmo-hnodeb-0.0.0.202111021358-1.1.arm/usr/share/doc/packages/osmo-hnodeb/examples/osmo-hnodeb/*/osmo-hnodeb*.cfg
  File not found: /home/abuild/rpmbuild/BUILDROOT/osmo-hnodeb-0.0.0.202111021358-1.1.arm/usr/share/doc/packages/osmo-hnodeb/README

With this patch applied, the deb and rpm packages build successfully now
(verified in own OBS namespace).

Related: SYS#5516
Change-Id: I3c728489d38272d8477da5050f407708b8c4289b
This commit is contained in:
Oliver Smith 2021-11-02 14:17:37 +01:00
parent 4de0518d22
commit 33e4059c05
1 changed files with 1 additions and 2 deletions

View File

@ -84,12 +84,11 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%files
%license COPYING
%doc AUTHORS README
%doc AUTHORS README.md
%{_bindir}/osmo-hnodeb
%dir %{_docdir}/%{name}/examples
%dir %{_docdir}/%{name}/examples/osmo-hnodeb
%{_docdir}/%{name}/examples/osmo-hnodeb/osmo-hnodeb.cfg
%{_docdir}/%{name}/examples/osmo-hnodeb/*/osmo-hnodeb*.cfg
%dir %{_sysconfdir}/osmocom
%config(noreplace) %{_sysconfdir}/osmocom/osmo-hnodeb.cfg
%{_unitdir}/%{name}.service