diff --git a/hwloc.spec b/hwloc.spec index 75aa303..af5e476 100644 --- a/hwloc.spec +++ b/hwloc.spec @@ -1,7 +1,7 @@ Summary: Portable Hardware Locality - portable abstraction of hierarchical architectures Name: hwloc Version: 1.11.8 -Release: 4%{?dist} +Release: 5%{?dist} License: BSD Group: Applications/System URL: http://www.open-mpi.org/projects/hwloc/ @@ -135,9 +135,7 @@ LD_LIBRARY_PATH=$PWD/src/.libs make check %systemd_postun_with_restart hwloc-dump-hwdata.service %endif -%post libs -p /sbin/ldconfig - -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets libs %files %{_bindir}/%{name}* @@ -177,6 +175,9 @@ LD_LIBRARY_PATH=$PWD/src/.libs make check %{_libdir}/%{name}/hwloc* %changelog +* Sat Feb 03 2018 Igor Gnatenko - 1.11.8-5 +- Switch to %%ldconfig_scriptlets + * Thu Nov 16 2017 Michal Schmidt - 1.11.8-4 - Configure with runstatedir set to /run.