Fix winexe and glusterfs on rhel
This commit is contained in:
parent
0d567d3ab9
commit
8316f0ac99
18
samba.spec
18
samba.spec
@ -29,7 +29,18 @@
|
|||||||
%bcond_without libwbclient
|
%bcond_without libwbclient
|
||||||
|
|
||||||
# Build with winexe by default
|
# Build with winexe by default
|
||||||
|
%if 0%{?rhel}
|
||||||
|
|
||||||
|
%ifarch x86_64
|
||||||
%bcond_without winexe
|
%bcond_without winexe
|
||||||
|
%else
|
||||||
|
%bcond_with winexe
|
||||||
|
#endifarch
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%else
|
||||||
|
%bcond_without winexe
|
||||||
|
%endif
|
||||||
|
|
||||||
# Build vfs_ceph module by default on 64bit Fedora
|
# Build vfs_ceph module by default on 64bit Fedora
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
@ -56,8 +67,15 @@
|
|||||||
#endifarch
|
#endifarch
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
#else rhel
|
||||||
|
%else
|
||||||
|
# Enable on rhel x86_64
|
||||||
|
%ifarch x86_64
|
||||||
|
%bcond_without vfs_glusterfs
|
||||||
%else
|
%else
|
||||||
%bcond_with vfs_glusterfs
|
%bcond_with vfs_glusterfs
|
||||||
|
#endifarch
|
||||||
|
%endif
|
||||||
#endif fedora
|
#endif fedora
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user