diff --git a/hwloc.spec b/hwloc.spec index 67a52c06ac72e26461706e4d2707e4a6e9f5c542..0cd8cc7b5d299d355ca2414ae7b88d4ab31fcb30 100644 --- a/hwloc.spec +++ b/hwloc.spec @@ -57,7 +57,7 @@ ln %{buildroot}%{_mandir}/man1/lstopo-no-graphics.1 %{buildroot}%{_mandir}/man1/ # https://github.com/open-mpi/hwloc/issues/221 %ifarch x86_64 -install -p %{buildroot}%{_unitdir} +install -d %{buildroot}%{_unitdir} mv %{buildroot}%{_datadir}/%{name}/hwloc-dump-hwdata.service %{buildroot}%{_unitdir}/ %else rm %{buildroot}%{_datadir}/%{name}/hwloc-dump-hwdata.service