From cdd60bb03d1ef55358f88cdfeceaf96aa14f78a0 Mon Sep 17 00:00:00 2001 From: Kaleb S KEITHLEY Date: Wed, 27 Apr 2016 10:01:52 -0400 Subject: [PATCH] %postun libs on RHEL6 w/o firewalld --- glusterfs.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/glusterfs.spec b/glusterfs.spec index f9c39c8..4448958 100644 --- a/glusterfs.spec +++ b/glusterfs.spec @@ -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 - 3.7.11-2 +- %postun libs on RHEL6 w/o firewalld + * Fri Apr 18 2016 Kaleb S. KEITHLEY - 3.7.11-1 - GlusterFS 3.7.11 GA