From d167150d6f8be78a5cdde8daf4cdf30ffce5c762 Mon Sep 17 00:00:00 2001 From: seki099 Date: Thu, 19 Dec 2019 10:22:21 +0800 Subject: [PATCH] modify spec --- hwloc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwloc.spec b/hwloc.spec index 67a52c0..0cd8cc7 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