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
|
||||
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 <ignatenkobrain@fedoraproject.org> - 1.11.8-5
|
||||
- Switch to %%ldconfig_scriptlets
|
||||
|
||||
* Thu Nov 16 2017 Michal Schmidt <mschmidt@redhat.com> - 1.11.8-4
|
||||
- Configure with runstatedir set to /run.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user