From 0e04457657efd72b618fdb7ef251803f71e37e56 Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Tue, 10 Oct 2017 09:49:19 -0400 Subject: [PATCH] nfs-ganesha 2.5.3 GA --- nfs-ganesha.spec | 17 ++++++++++++++--- sources | 2 +- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/nfs-ganesha.spec b/nfs-ganesha.spec index 6f10706..203756e 100644 --- a/nfs-ganesha.spec +++ b/nfs-ganesha.spec @@ -93,7 +93,7 @@ Requires: openSUSE-release # %%global dash_dev_version 2.5-final Name: nfs-ganesha -Version: 2.5.2 +Version: 2.5.3 Release: 1%{?dev:%{dev}}%{?dist} Summary: NFS-Ganesha is a NFS Server running in user space Group: Applications/System @@ -440,7 +440,7 @@ install -m 644 config_samples/rgw.conf %{buildroot}%{_sysconfdir}/ganesha %if %{with_systemd} mkdir -p %{buildroot}%{_unitdir} install -m 644 scripts/systemd/nfs-ganesha.service.el7 %{buildroot}%{_unitdir}/nfs-ganesha.service -install -m 644 scripts/systemd/nfs-ganesha-lock.service %{buildroot}%{_unitdir}/nfs-ganesha-lock.service +install -m 644 scripts/systemd/nfs-ganesha-lock.service.el7 %{buildroot}%{_unitdir}/nfs-ganesha-lock.service install -m 644 scripts/systemd/nfs-ganesha-config.service %{buildroot}%{_unitdir}/nfs-ganesha-config.service install -m 644 scripts/systemd/sysconfig/nfs-ganesha %{buildroot}%{_sysconfdir}/sysconfig/ganesha %if 0%{?_tmpfilesdir:1} @@ -490,6 +490,14 @@ make DESTDIR=%{buildroot} install %post %if ( 0%{?suse_version} ) %service_add_post nfs-ganesha.service nfs-ganesha-lock.service nfs-ganesha-config.service +%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 +%if %{with gluster} +semanage fcontext -a -t ganesha_var_log_t %{_localstatedir}/log/ganesha/ganesha-gfapi.log +%endif +restorecon %{_localstatedir}/log/ganesha +%endif %else %if %{with_systemd} %systemd_post nfs-ganesha.service @@ -537,7 +545,7 @@ exit 0 %dir %{_rundir}/ganesha %dir %{_libexecdir}/ganesha/ %{_libexecdir}/ganesha/nfs-ganesha-config.sh -%dir %attr(0755,ganesha,ganesha) %{_localstatedir}/log/ganesha +%dir %attr(0775,ganesha,ganesha) %{_localstatedir}/log/ganesha %if %{with_systemd} %{_unitdir}/nfs-ganesha.service @@ -700,6 +708,9 @@ exit 0 %endif %changelog +* Tue Oct 10 2017 Kaleb S. KEITHLEY 2.5.3-1 +- nfs-ganesha 2.5.3 GA + * Fri Aug 25 2017 Kaleb S. KEITHLEY 2.5.2-1 - nfs-ganesha 2.5.2 GA diff --git a/sources b/sources index 482b8f8..69a33a9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nfs-ganesha-2.5.2.tar.gz) = 06e87cee4944ceb22da59e0d09bdafcebce34677b86af04f0cc259b165fa71afbadf1bc7f879353ad7a44af8d8080dc97f9463d128938dae5bf8a91635c729dd +SHA512 (nfs-ganesha-2.5.3.tar.gz) = 7608831efd24d6cffb365551a581752c871735fbd1b9886ce4c414fbe3abb50817a0b5449df4a45c00498760d1c35af17bbc90cccc4fe44768b64e0e7388205d