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:
parent
4de0518d22
commit
33e4059c05
|
@ -84,12 +84,11 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS README
|
%doc AUTHORS README.md
|
||||||
%{_bindir}/osmo-hnodeb
|
%{_bindir}/osmo-hnodeb
|
||||||
%dir %{_docdir}/%{name}/examples
|
%dir %{_docdir}/%{name}/examples
|
||||||
%dir %{_docdir}/%{name}/examples/osmo-hnodeb
|
%dir %{_docdir}/%{name}/examples/osmo-hnodeb
|
||||||
%{_docdir}/%{name}/examples/osmo-hnodeb/osmo-hnodeb.cfg
|
%{_docdir}/%{name}/examples/osmo-hnodeb/osmo-hnodeb.cfg
|
||||||
%{_docdir}/%{name}/examples/osmo-hnodeb/*/osmo-hnodeb*.cfg
|
|
||||||
%dir %{_sysconfdir}/osmocom
|
%dir %{_sysconfdir}/osmocom
|
||||||
%config(noreplace) %{_sysconfdir}/osmocom/osmo-hnodeb.cfg
|
%config(noreplace) %{_sysconfdir}/osmocom/osmo-hnodeb.cfg
|
||||||
%{_unitdir}/%{name}.service
|
%{_unitdir}/%{name}.service
|
||||||
|
|
Loading…
Reference in New Issue