shared lib scriptlets, ldconfig
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
This commit is contained in:
parent
1b91ec82ec
commit
4708c093f7
@ -184,7 +184,7 @@ Summary: Distributed File System
|
||||
%if ( 0%{_for_fedora_koji_builds} )
|
||||
Name: glusterfs
|
||||
Version: 3.13.2
|
||||
Release: %{?prereltag:0.}1%{?prereltag:.%{prereltag}}%{?dist}
|
||||
Release: %{?prereltag:0.}2%{?prereltag:.%{prereltag}}%{?dist}
|
||||
%else
|
||||
Name: @PACKAGE_NAME@
|
||||
Version: @PACKAGE_VERSION@
|
||||
@ -820,7 +820,6 @@ rm -rf %{buildroot}
|
||||
## All %%post should be placed here and keep them sorted
|
||||
##
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%if ( 0%{!?_without_syslog:1} )
|
||||
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
|
||||
%systemd_postun_with_restart rsyslog
|
||||
@ -828,8 +827,6 @@ rm -rf %{buildroot}
|
||||
%endif
|
||||
exit 0
|
||||
|
||||
%post api -p /sbin/ldconfig
|
||||
|
||||
%if ( 0%{!?_without_events:1} )
|
||||
%post events
|
||||
%systemd_post glustereventsd
|
||||
@ -850,10 +847,6 @@ fi
|
||||
exit 0
|
||||
%endif
|
||||
|
||||
%post libs
|
||||
/sbin/ldconfig
|
||||
exit 0
|
||||
|
||||
%post server
|
||||
# Legacy server
|
||||
%systemd_post glusterd
|
||||
@ -896,7 +889,6 @@ fi
|
||||
# BZ 834847
|
||||
if [ -e /etc/ld.so.conf.d/glusterfs.conf ]; then
|
||||
rm -f /etc/ld.so.conf.d/glusterfs.conf
|
||||
/sbin/ldconfig
|
||||
fi
|
||||
|
||||
%if (0%{?_with_firewalld:1})
|
||||
@ -971,7 +963,6 @@ exit 0
|
||||
## All %%postun should be placed here and keep them sorted
|
||||
##
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%if ( 0%{!?_without_syslog:1} )
|
||||
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
|
||||
%systemd_postun_with_restart rsyslog
|
||||
@ -979,16 +970,7 @@ exit 0
|
||||
%endif
|
||||
exit 0
|
||||
|
||||
%postun api
|
||||
/sbin/ldconfig
|
||||
exit 0
|
||||
|
||||
%postun libs
|
||||
/sbin/ldconfig
|
||||
exit 0
|
||||
|
||||
%postun server
|
||||
/sbin/ldconfig
|
||||
%if (0%{?_with_firewalld:1})
|
||||
%firewalld_reload
|
||||
%endif
|
||||
@ -1389,6 +1371,9 @@ exit 0
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Feb 15 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.13.2-2
|
||||
- shared lib scriptlets, ldconfig
|
||||
|
||||
* Sat Jan 20 2018 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.13.2-1
|
||||
- 3.13.2 GA
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user