[nfs-ganesha] exclude libfsalgluster correctly

Kaleb S. KEITHLEY kkeithle at fedoraproject.org
Sat May 10 13:49:26 UTC 2014


commit 1519577c27e00119adb118895a1810338734ab46
Author: Kaleb S. KEITHLEY <kkeithle at redhat.com>
Date:   Sat May 10 09:49:48 2014 -0400

    exclude libfsalgluster correctly

 nfs-ganesha.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/nfs-ganesha.spec b/nfs-ganesha.spec
index ef88a9c..587e84e 100644
--- a/nfs-ganesha.spec
+++ b/nfs-ganesha.spec
@@ -201,7 +201,9 @@ install -D -p -m 0744 %{SOURCE4} %{buildroot}%{_sbindir}/nfs_ganesha.sh
 %files
 %doc src/ChangeLog src/LICENSE.txt src/TODO src/Docs/*.pdf
 %exclude %{_pkgdocdir}/*.pdf
-# %%exclude %{_libdir}/ganesha/libfsalgluster.*
+%if ( 0%{?with_glusterfs:1} )
+%exclude %{_libdir}/ganesha/libfsalgluster.*
+%endif
 %{_libdir}/*
 %{_bindir}/*
 %if ( 0%{?_with_systemd:1} )
@@ -227,6 +229,9 @@ install -D -p -m 0744 %{SOURCE4} %{buildroot}%{_sbindir}/nfs_ganesha.sh
 %dir %{_pkgdocdir}
 
 %changelog
+* Sat May 10 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com>
+- exclude libfsalgluster correctly
+
 * Fri May 9 2014 Kaleb S. KEITHLEY <kkeithle at redhat.com> 2.0.0-7
 - Ceph FSAL, in a subpackage, (but requires ceph >= 0.78)
 


More information about the scm-commits mailing list