diff --git a/nfs-ganesha.spec b/nfs-ganesha.spec index d1c45d7..e20a830 100644 --- a/nfs-ganesha.spec +++ b/nfs-ganesha.spec @@ -52,7 +52,11 @@ Requires: openSUSE-release %bcond_without xfs %global use_fsal_xfs %{on_off_switch xfs} +%ifnarch i686 armv7hl ppc64 %bcond_without ceph +%else +%bcond_with ceph +%endif %global use_fsal_ceph %{on_off_switch ceph} %bcond_with rgw @@ -90,7 +94,7 @@ Requires: openSUSE-release Name: nfs-ganesha Version: 2.5.1 -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+ @@ -275,6 +279,7 @@ be used with NFS-Ganesha to support GPFS backend %endif # CEPH +%ifnarch i686 armv7hl ppc64 %if %{with ceph} %package ceph Summary: The NFS-GANESHA's CephFS FSAL @@ -299,6 +304,7 @@ BuildRequires: librgw2-devel >= 10.2.7 This package contains a FSAL shared object to be used with NFS-Ganesha to support Ceph RGW %endif +%endif # XFS %if %{with xfs} @@ -415,6 +421,7 @@ install -m 644 scripts/init.d/sysconfig/ganesha %{buildroot}%{_sysconfdir}/sysc install -m 644 config_samples/xfs.conf %{buildroot}%{_sysconfdir}/ganesha %endif +%ifnarch i686 armv7hl ppc64 %if %{with ceph} install -m 644 config_samples/ceph.conf %{buildroot}%{_sysconfdir}/ganesha %endif @@ -423,6 +430,7 @@ install -m 644 config_samples/ceph.conf %{buildroot}%{_sysconfdir}/ganesha install -m 644 config_samples/rgw.conf %{buildroot}%{_sysconfdir}/ganesha install -m 644 config_samples/rgw_bucket.conf %{buildroot}%{_sysconfdir}/ganesha %endif +%endif %if %{with gluster} install -m 644 config_samples/logrotate_fsal_gluster %{buildroot}%{_sysconfdir}/logrotate.d/ganesha-gfapi @@ -580,6 +588,7 @@ exit 0 %endif %endif +%ifnarch i686 armv7hl ppc64 %if %{with ceph} %files ceph %{_libdir}/ganesha/libfsalceph* @@ -599,6 +608,7 @@ exit 0 %{_mandir}/*/ganesha-rgw-config.8.gz %endif %endif +%endif %if %{with gluster} %files gluster @@ -649,7 +659,7 @@ exit 0 %endif %changelog -* Mon Jul 24 2017 Kaleb S. KEITHLEY 2.5.1-2 +* Mon Jul 24 2017 Kaleb S. KEITHLEY 2.5.1-3 - nfs-ganesha 2.5.1 w/ ceph-12.1.1 * Fri Jul 21 2017 Kaleb S. KEITHLEY 2.5.1-1