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