This commit is contained in:
parent
9f5756dc58
commit
b67a877777
12
hwloc.spec
12
hwloc.spec
@ -30,6 +30,7 @@ BuildRequires: automake
|
|||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libnuma-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
@ -46,7 +47,6 @@ Requires: perl-base >= 5.18.2
|
|||||||
Requires(post): desktop-file-utils
|
Requires(post): desktop-file-utils
|
||||||
Requires(postun): desktop-file-utils
|
Requires(postun): desktop-file-utils
|
||||||
%{?systemd_ordering}
|
%{?systemd_ordering}
|
||||||
BuildRequires: libnuma-devel
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Portable Hardware Locality (hwloc) software package provides
|
The Portable Hardware Locality (hwloc) software package provides
|
||||||
@ -133,18 +133,28 @@ rm %{buildroot}%{_datadir}/hwloc/hwloc-dump-hwdata.service
|
|||||||
|
|
||||||
%post -n %{lname} -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
%postun -n %{lname} -p /sbin/ldconfig
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
|
%ifarch %{ix86} x86_64
|
||||||
%service_add_pre hwloc-dump-hwdata.service
|
%service_add_pre hwloc-dump-hwdata.service
|
||||||
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
%ifarch %{ix86} x86_64
|
||||||
%service_add_post hwloc-dump-hwdata.service
|
%service_add_post hwloc-dump-hwdata.service
|
||||||
|
%endif
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
|
%ifarch %{ix86} x86_64
|
||||||
%service_del_preun hwloc-dump-hwdata.service
|
%service_del_preun hwloc-dump-hwdata.service
|
||||||
|
%endif
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
|
%ifarch %{ix86} x86_64
|
||||||
%service_del_postun hwloc-dump-hwdata.service
|
%service_del_postun hwloc-dump-hwdata.service
|
||||||
|
%endif
|
||||||
|
|
||||||
%desktop_database_postun
|
%desktop_database_postun
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
Reference in New Issue
Block a user