From 37b7f9c94d37db69a82d4c3c5ef1ddc83b0bd304 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Dec 27 2016 18:58:13 +0000 Subject: Deal with hwloc-dump-hwdata --- diff --git a/hwloc.spec b/hwloc.spec index e905448..4fae643 100644 --- a/hwloc.spec +++ b/hwloc.spec @@ -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