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