Skip to content

Commit 45559ef

Browse files
committed
rpmspec: Build samba-vfs-glusterfs on aarch64
Rearrange and enable building samba-vfs-glusterfs on aarch64.
1 parent a72aa34 commit 45559ef

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

packaging/samba-4.21.spec.j2

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@
5050
#endifarch
5151
%endif
5252

53-
%bcond_with vfs_glusterfs
54-
%ifarch ppc64le s390x x86_64
55-
%if (0%{?rhel} && 0%{?centos}) || 0%{?fedora}
53+
# Build vfs_glusterfs module by default
54+
%ifarch aarch64 ppc64le s390x x86_64
5655
%bcond_without vfs_glusterfs
57-
%endif
56+
%else
57+
%bcond_with vfs_glusterfs
58+
#endifarch
5859
%endif
5960

6061
# Build the ctdb-pcp-pmda package by default on Fedora

packaging/samba-4.22.spec.j2

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@
5050
#endifarch
5151
%endif
5252

53-
%bcond_with vfs_glusterfs
54-
%ifarch ppc64le s390x x86_64
55-
%if (0%{?rhel} && 0%{?centos}) || 0%{?fedora}
53+
# Build vfs_glusterfs module by default
54+
%ifarch aarch64 ppc64le s390x x86_64
5655
%bcond_without vfs_glusterfs
57-
%endif
56+
%else
57+
%bcond_with vfs_glusterfs
58+
#endifarch
5859
%endif
5960

6061
# Build the ctdb-pcp-pmda package by default on Fedora

packaging/samba-master.spec.j2

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@
5050
#endifarch
5151
%endif
5252

53-
%bcond_with vfs_glusterfs
54-
%ifarch ppc64le s390x x86_64
55-
%if (0%{?rhel} && 0%{?centos}) || 0%{?fedora}
53+
# Build vfs_glusterfs module by default
54+
%ifarch aarch64 ppc64le s390x x86_64
5655
%bcond_without vfs_glusterfs
57-
%endif
56+
%else
57+
%bcond_with vfs_glusterfs
58+
#endifarch
5859
%endif
5960

6061
# Build the ctdb-pcp-pmda package by default on Fedora

0 commit comments

Comments
 (0)