Change gluster-server "Requires" from pyxattr to python3-pyxattr

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)
This commit is contained in:
Wenchao Hao 2022-01-26 09:51:03 +08:00 committed by openeuler-sync-bot
parent 994cb4ecca
commit 272a98d424

View File

@ -220,7 +220,7 @@
Summary: Distributed File System
Name: glusterfs
Version: 10.0
Release: 2
Release: 3
License: GPLv2 or LGPLv3+
URL: http://docs.gluster.org/
%if ( 0%{_for_fedora_koji_builds} )
@ -695,11 +695,7 @@ Requires: portmap
%if ( 0%{?rhel} && 0%{?rhel} <= 6 )
Requires: python-argparse
%endif
%if ( 0%{?fedora} && 0%{?fedora} > 27 ) || ( 0%{?rhel} && 0%{?rhel} > 7 )
Requires: python%{_pythonver}-pyxattr
%else
Requires: pyxattr
%endif
Requires: python3-pyxattr
%if (0%{?_with_valgrind:1})
Requires: valgrind
%endif
@ -1516,6 +1512,9 @@ exit 0
%endif
%changelog
* Wed Jan 26 2022 Wenchao Hao <haowenchao@huawei.com> - 10.0-3
- Change gluster-server "Requires" from pyxattr to python3-pyxattr
* Wed Jan 26 2022 Wenchao Hao <haowenchao@huawei.com> - 10.0-2
- Remove unnecessary subpackages ganesha and regression-test