!5 Fix loongarch64 build error

From: @zhangxianting 
Reviewed-by: @tzing_t 
Signed-off-by: @tzing_t
This commit is contained in:
openeuler-ci-bot 2024-06-28 00:54:27 +00:00 committed by Gitee
commit 7f7d6d30d5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-pyeclib Name: python-pyeclib
Version: 1.6.1 Version: 1.6.1
Release: 1 Release: 2
Summary: Python interface to erasure codes Summary: Python interface to erasure codes
License: BSD License: BSD
URL: http://git.openstack.org/cgit/openstack/pyeclib/ URL: http://git.openstack.org/cgit/openstack/pyeclib/
@ -10,6 +10,9 @@ Source0: https://files.pythonhosted.org/packages/c8/9a/3c4362db5f46d5b139
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: liberasurecode-devel BuildRequires: liberasurecode-devel
%ifarch loongarch64
BuildRequires: chrpath
%endif
%description %description
This library provides a simple Python interface for implementing erasure This library provides a simple Python interface for implementing erasure
@ -44,6 +47,9 @@ This is v0.9 of PyECLib. This library provides a simple Python interface for imp
%changelog %changelog
* Thu Jun 27 2024 zhangxianting <zhangxianting@uniontech.com> - 1.6.1-2
- Fix loongarch64 build error
* Wed Jul 19 2023 Dongxing Wang <dxwangk@isoftstone.com> - 1.6.1-1 * Wed Jul 19 2023 Dongxing Wang <dxwangk@isoftstone.com> - 1.6.1-1
- Update package to version 1.6.1 - Update package to version 1.6.1