Use ldconfig macros
This commit is contained in:
parent
32d12757e4
commit
38053e4034
@ -1,6 +1,5 @@
|
||||
%global _hardened_build 1
|
||||
|
||||
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
Summary: IPMI (Intelligent Platform Management Interface) library and tools
|
||||
Name: OpenIPMI
|
||||
|
||||
@ -137,11 +136,8 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1
|
||||
%postun
|
||||
%systemd_postun_with_restart ipmi.service
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%post lanserv -p /sbin/ldconfig
|
||||
%postun lanserv -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets libs
|
||||
%ldconfig_scriptlets lanserv
|
||||
|
||||
### A sysv => systemd migration contains all of the same scriptlets as a
|
||||
### systemd package. These are additional scriptlets
|
||||
@ -210,6 +206,9 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1
|
||||
%{_mandir}/man5/ipmi_sim_cmd.5*
|
||||
|
||||
%changelog
|
||||
* Tue Mar 06 2018 Josef Ridky <jridky@redhat.com> - 2.0.24-5
|
||||
- use ldconfig macros
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.24-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user