git.samba.org
/
ira
/
fedora-git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcb7e8b
)
Fix building with glusterfs VFS module on RHEL.
author
Andreas Schneider
<asn@cryptomilk.org>
Tue, 29 Oct 2013 16:55:08 +0000
(17:55 +0100)
committer
Andreas Schneider
<asn@redhat.com>
Tue, 29 Oct 2013 17:12:21 +0000
(18:12 +0100)
related: #
1020329
samba.spec
patch
|
blob
|
history
diff --git
a/samba.spec
b/samba.spec
index 4584f8d905caa9c915056a02e8eeae329335b4f7..e05ead422512f1b2c1cc00f8f2bc47dc0b3a00f0 100644
(file)
--- a/
samba.spec
+++ b/
samba.spec
@@
-30,6
+30,13
@@
%global with_profiling 1
%global with_vfs_glusterfs 1
+%if 0%{?rhel}
+%global with_vfs_glusterfs 0
+# Only enable on x86_64
+%ifarch x86_64
+%global with_vfs_glusterfs 1
+%endif
+%endif
%global with_mitkrb5 1
%global with_dc 0
@@
-534,6
+541,9
@@
LDFLAGS="-Wl,-z,relro,-z,now" \
%if ! %with_dc
--without-ad-dc \
%endif
+%if ! %with_vfs_glusterfs
+ --disable-glusterfs \
+%endif
%if %with_clustering_support
--with-cluster-support \
--enable-old-ctdb \