nfs-ganesha 2.5.3 GA

This commit is contained in:
Kaleb S. KEITHLEY 2017-10-10 14:21:42 -04:00
commit a98844adc4
2 changed files with 21 additions and 28 deletions

View File

@ -52,18 +52,10 @@ Requires: openSUSE-release
%bcond_without xfs
%global use_fsal_xfs %{on_off_switch xfs}
%ifnarch %{arm}
%bcond_with ceph
%else
%bcond_without ceph
%endif
%global use_fsal_ceph %{on_off_switch ceph}
%ifnarch %{arm}
%bcond_without rgw
%else
%bcond_with rgw
%endif
%global use_fsal_rgw %{on_off_switch rgw}
%bcond_without gluster
@ -101,8 +93,8 @@ Requires: openSUSE-release
# %%global dash_dev_version 2.5-final
Name: nfs-ganesha
Version: 2.5.2
Release: 6%{?dev:%{dev}}%{?dist}
Version: 2.5.3
Release: 1%{?dev:%{dev}}%{?dist}
Summary: NFS-Ganesha is a NFS Server running in user space
Group: Applications/System
License: LGPLv3+
@ -294,7 +286,7 @@ be used with NFS-Ganesha to support GPFS backend
Summary: The NFS-GANESHA's CephFS FSAL
Group: Applications/System
Requires: nfs-ganesha = %{version}-%{release}
BuildRequires: libcephfs-devel >= 12.l.1
BuildRequires: libcephfs1-devel >= 10.2.7
%description ceph
This package contains a FSAL shared object to
@ -307,7 +299,7 @@ be used with NFS-Ganesha to support CephFS
Summary: The NFS-GANESHA's Ceph RGW FSAL
Group: Applications/System
Requires: nfs-ganesha = %{version}-%{release}
BuildRequires: librgw-devel >= 12.1.1
BuildRequires: librgw2-devel >= 10.2.7
%description rgw
This package contains a FSAL shared object to
@ -440,13 +432,15 @@ install -m 644 config_samples/logrotate_ganesha %{buildroot}%{_sysconfdir}/logro
install -m 644 scripts/ganeshactl/org.ganesha.nfsd.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d
install -m 755 scripts/nfs-ganesha-config.sh %{buildroot}%{_libexecdir}/ganesha
install -m 755 tools/mount.9P %{buildroot}%{_sbindir}/mount.9P
install -m 644 config_samples/vfs.conf %{buildroot}%{_sysconfdir}/ganesha
%if %{with rgw}
install -m 644 config_samples/rgw.conf %{buildroot}%{_sysconfdir}/ganesha
%endif
%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}
@ -496,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 ( 0%{?fedora} || ( 0%{?rhel} && 0%{?rhel} > 6 ) )
semanage fcontext -a -t ganesha_var_log_t %{_localstatedir}/log/ganesha
@ -549,7 +551,7 @@ exit 0
%dir %{_rundir}/ganesha
%dir %{_libexecdir}/ganesha/
%{_libexecdir}/ganesha/nfs-ganesha-config.sh
%dir %attr(0755,ganesha,root) %{_localstatedir}/log/ganesha
%dir %attr(0775,ganesha,ganesha) %{_localstatedir}/log/ganesha
%if %{with_systemd}
%{_unitdir}/nfs-ganesha.service
@ -712,6 +714,9 @@ exit 0
%endif
%changelog
* Tue Oct 10 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.3-1
- nfs-ganesha 2.5.3 GA
* Wed Sep 27 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.2-6
- /var/log/ganesha -> ganesha_var_log_t
- see https://github.com/nfs-ganesha/nfs-ganesha/issues/212
@ -740,18 +745,6 @@ exit 0
- nfs-ganesha 2.5.1.1 GA
- enable ppc64, enable FSAL_GPFS
* Mon Jul 31 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.1-7
- nfs-ganesha 2.5.1 w/ FSAL_CEPH and FSAL_RGW on i686, armv7hl
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jul 24 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.1-5
- nfs-ganesha 2.5.1 w/ FSAL_RGW
* Mon Jul 24 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.1-3
- nfs-ganesha 2.5.1 w/ ceph-12.1.1
* Fri Jul 21 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.5.1-1
- nfs-ganesha 2.5.1 GA

View File

@ -1 +1 @@
SHA512 (nfs-ganesha-2.5.2.tar.gz) = 06e87cee4944ceb22da59e0d09bdafcebce34677b86af04f0cc259b165fa71afbadf1bc7f879353ad7a44af8d8080dc97f9463d128938dae5bf8a91635c729dd
SHA512 (nfs-ganesha-2.5.3.tar.gz) = 7608831efd24d6cffb365551a581752c871735fbd1b9886ce4c414fbe3abb50817a0b5449df4a45c00498760d1c35af17bbc90cccc4fe44768b64e0e7388205d