Backport: e894527ecf531d1b31bdcc9b23a10627c1b4d355
1) tcmalloc can't be dlopen()ed successfully on non-x86_64 arches,
or at least not on aarch64, s390x, and armv7hl; causing issues
with qemu and/or libvirt on those platforms.
2) invoking rpmbuild with --without-tcmalloc creates the %global
%_without_tcmalloc (=true), and AFAIK does not creat the
%global %_with_tcmalloc (=false). The later tests for
%_with_tcmalloc: do not work correctly, they need to test for
'!%_without_tcmalloc'.
3) a %global %_without_libtcmalloc is created but never used.
The %configure step uses %_without_tcmalloc.
Signed-off-by: imxcc <xingchaochao@huawei.com>
Signed-off-by: kalebskeithley <kaleb@redhat.com>
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit 402675e26a2234a8c8c3646d3282519a3bdcf1d4)
openeuler provides python3-pyxattr not pyxattr, they are same package
but with different name.
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit a542a8c8e51ae1e51d4a7c8b27a65bbed49bbaed)
glusterfs-ganesha is to using glusterfs as NFS server, which based
on NFS-Ganesha package. While NFS-Ganesha is not provided in openeuler.
So it is not necessary to keep subpackage.
glusterfs-regression is a test package which is unnecessary, so remove
it.
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit ceeeb885abb50c03be30f695d8de03290c24026c)
The spec file is changed based with which exacted from glusterfs-10.0.tar.gz.
Following changes are made:
* make variable _with_systemd true as default
* make variable _usepython3 as 1
* make variable _pythonver as 2
* remove fedora_koji_builds judgements
* add new BuildRequires: rpcgen gperftools-devel libunwind-devel
* update source0 to following address
https://download.gluster.org/pub/gluster/glusterfs/10/10.0/glusterfs-10.0.tar.gz
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>