diff --git a/nfs-ganesha.spec b/nfs-ganesha.spec index d4d13d0..203d059 100644 --- a/nfs-ganesha.spec +++ b/nfs-ganesha.spec @@ -94,7 +94,7 @@ Requires: openSUSE-release Name: nfs-ganesha Version: 2.5.3 -Release: 2%{?dev:%{dev}}%{?dist} +Release: 3%{?dev:%{dev}}%{?dist} Summary: NFS-Ganesha is a NFS Server running in user space Group: Applications/System License: LGPLv3+ @@ -492,10 +492,10 @@ make DESTDIR=%{buildroot} install %service_add_post nfs-ganesha.service nfs-ganesha-lock.service nfs-ganesha-config.service %else %if ( 0%{?fedora} || ( 0%{?rhel} && 0%{?rhel} > 6 ) ) -semanage fcontext -a -t ganesha_var_log_t %{_localstatedir}/log/ganesha -semanage fcontext -a -t ganesha_var_log_t %{_localstatedir}/log/ganesha/ganesha.log +semanage fcontext -a -t ganesha_var_log_t %{_localstatedir}/log/ganesha > /dev/null 2>&1 || : +semanage fcontext -a -t ganesha_var_log_t %{_localstatedir}/log/ganesha/ganesha.log > /dev/null 2>&1 || : %if %{with gluster} -semanage fcontext -a -t ganesha_var_log_t %{_localstatedir}/log/ganesha/ganesha-gfapi.log +semanage fcontext -a -t ganesha_var_log_t %{_localstatedir}/log/ganesha/ganesha-gfapi.log > /dev/null 2>&1 || : %endif restorecon %{_localstatedir}/log/ganesha %endif @@ -708,6 +708,9 @@ exit 0 %endif %changelog +* Fri Oct 20 2017 Kaleb S. KEITHLEY 2.5.3-3 +- nfs-ganesha 2.5.3, quiet semanage + * Fri Oct 20 2017 Kaleb S. KEITHLEY 2.5.3-2 - nfs-ganesha 2.5.3, fix semanage in %%post