Deal with hwloc-dump-hwdata
This commit is contained in:
parent
156f818f9b
commit
37b7f9c94d
@ -103,6 +103,10 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/lstopo.desktop
|
|||||||
rm %{buildroot}%{_mandir}/man1/lstopo.1
|
rm %{buildroot}%{_mandir}/man1/lstopo.1
|
||||||
ln %{buildroot}%{_mandir}/man1/lstopo-no-graphics.1 %{buildroot}%{_mandir}/man1/lstopo.1
|
ln %{buildroot}%{_mandir}/man1/lstopo-no-graphics.1 %{buildroot}%{_mandir}/man1/lstopo.1
|
||||||
|
|
||||||
|
# Deal with service file
|
||||||
|
# https://github.com/open-mpi/hwloc/issues/221
|
||||||
|
rm %{buildroot}%{_datadir}/%{name}/hwloc-dump-hwdata.service
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
@ -115,6 +119,7 @@ make check
|
|||||||
%{_bindir}/lstopo-no-graphics
|
%{_bindir}/lstopo-no-graphics
|
||||||
%{_mandir}/man1/%{name}*
|
%{_mandir}/man1/%{name}*
|
||||||
%{_mandir}/man1/lstopo-no-graphics*
|
%{_mandir}/man1/lstopo-no-graphics*
|
||||||
|
%{_sbindir}/hwloc-dump-hwdata
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
@ -140,7 +145,6 @@ make check
|
|||||||
%{_datadir}/applications/lstopo.desktop
|
%{_datadir}/applications/lstopo.desktop
|
||||||
|
|
||||||
%files plugins
|
%files plugins
|
||||||
%dir %{_libdir}/%{name}
|
|
||||||
%{_libdir}/hwloc*
|
%{_libdir}/hwloc*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user