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>