%postun libs on RHEL6 w/o firewalld

This commit is contained in:
Kaleb S KEITHLEY 2016-04-27 10:01:52 -04:00
parent 07bb35fd47
commit cdd60bb03d

View File

@ -169,7 +169,7 @@ Summary: Distributed File System
%if ( 0%{_for_fedora_koji_builds} )
Name: glusterfs
Version: 3.7.11
Release: 1%{?prereltag:.%{prereltag}}%{?dist}
Release: 2%{?prereltag:.%{prereltag}}%{?dist}
Vendor: Fedora Project
%else
Name: @PACKAGE_NAME@
@ -801,9 +801,9 @@ rm -rf %{buildroot}
%if ( 0%{!?_without_syslog:1} )
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
%_init_restart rsyslog
%endif
%endif
exit 0
%endif
%endif
%post api -p /sbin/ldconfig
@ -929,14 +929,15 @@ exit 0
%postun libs -p /sbin/ldconfig
%if (0%{?_with_firewalld:1})
%postun server
/sbin/ldconfig
%if (0%{?_with_firewalld:1})
#reload service files if firewalld running
if $(systemctl is-active firewalld 1>/dev/null 2>&1); then
firewall-cmd --reload
fi
exit 0
%endif
exit 0
##-----------------------------------------------------------------------------
## All %%files should be placed here and keep them sorted by groups
@ -1250,6 +1251,9 @@ exit 0
%endif
%changelog
* Fri Apr 18 2016 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.7.11-2
- %postun libs on RHEL6 w/o firewalld
* Fri Apr 18 2016 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.7.11-1
- GlusterFS 3.7.11 GA