Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
a22b72b857
commit
2b0064a43e
@ -1,7 +1,7 @@
|
|||||||
Summary: Portable Hardware Locality - portable abstraction of hierarchical architectures
|
Summary: Portable Hardware Locality - portable abstraction of hierarchical architectures
|
||||||
Name: hwloc
|
Name: hwloc
|
||||||
Version: 1.11.8
|
Version: 1.11.8
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://www.open-mpi.org/projects/hwloc/
|
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
|
%systemd_postun_with_restart hwloc-dump-hwdata.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
%ldconfig_scriptlets libs
|
||||||
|
|
||||||
%postun libs -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/%{name}*
|
%{_bindir}/%{name}*
|
||||||
@ -177,6 +175,9 @@ LD_LIBRARY_PATH=$PWD/src/.libs make check
|
|||||||
%{_libdir}/%{name}/hwloc*
|
%{_libdir}/%{name}/hwloc*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.11.8-5
|
||||||
|
- Switch to %%ldconfig_scriptlets
|
||||||
|
|
||||||
* Thu Nov 16 2017 Michal Schmidt <mschmidt@redhat.com> - 1.11.8-4
|
* Thu Nov 16 2017 Michal Schmidt <mschmidt@redhat.com> - 1.11.8-4
|
||||||
- Configure with runstatedir set to /run.
|
- Configure with runstatedir set to /run.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user