Deal with hwloc-dump-hwdata

This commit is contained in:
Orion Poplawski 2016-12-27 11:58:13 -07:00
parent 156f818f9b
commit 37b7f9c94d

View File

@ -103,6 +103,10 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/lstopo.desktop
rm %{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
make check
@ -115,6 +119,7 @@ make check
%{_bindir}/lstopo-no-graphics
%{_mandir}/man1/%{name}*
%{_mandir}/man1/lstopo-no-graphics*
%{_sbindir}/hwloc-dump-hwdata
%files devel
%{_libdir}/pkgconfig/*
@ -140,7 +145,6 @@ make check
%{_datadir}/applications/lstopo.desktop
%files plugins
%dir %{_libdir}/%{name}
%{_libdir}/hwloc*
%changelog