python-pyeclib/python-pyeclib.spec

61 lines
1.7 KiB
RPMSpec
Raw Normal View History

2021-07-31 21:11:07 +00:00
%global _empty_manifest_terminate_build 0
Name: python-pyeclib
2023-07-20 11:41:29 +08:00
Version: 1.6.1
2024-06-27 17:59:05 +08:00
Release: 2
2021-07-31 21:11:07 +00:00
Summary: Python interface to erasure codes
License: BSD
URL: http://git.openstack.org/cgit/openstack/pyeclib/
2023-07-20 11:41:29 +08:00
Source0: https://files.pythonhosted.org/packages/c8/9a/3c4362db5f46d5b1391b5fe827d070fe247674d503f98938aef0805f249d/pyeclib-1.6.1.tar.gz
2021-07-31 21:11:07 +00:00
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: liberasurecode-devel
2024-06-27 17:59:05 +08:00
%ifarch loongarch64
BuildRequires: chrpath
%endif
2021-07-31 21:11:07 +00:00
%description
This library provides a simple Python interface for implementing erasure
codes. A number of back-end implementations is supported either directly
or through the C interface liberasurecode.
%package -n python3-pyeclib
Summary: This library provides a simple Python interface for implementing erasure codes.
Provides: python-pyeclib
Requires: liberasurecode
%description -n python3-pyeclib
This is v0.9 of PyECLib. This library provides a simple Python interface for implementing erasure codes and is known to work with Python v2.6, 2.7 and 3.x.
%prep
%autosetup -n pyeclib-%{version}
%build
%py3_build
%install
%py3_install
2022-07-04 09:11:32 +00:00
# diable tests
#%check
#%{__python3} setup.py test
2021-07-31 21:11:07 +00:00
%files -n python3-pyeclib
%{python3_sitearch}/pyeclib*
%changelog
2024-06-27 17:59:05 +08:00
* Thu Jun 27 2024 zhangxianting <zhangxianting@uniontech.com> - 1.6.1-2
- Fix loongarch64 build error
2023-07-20 11:41:29 +08:00
* Wed Jul 19 2023 Dongxing Wang <dxwangk@isoftstone.com> - 1.6.1-1
- Update package to version 1.6.1
2022-07-04 09:11:32 +00:00
* Mon Jul 04 2022 OpenStack_SIG <openstack@openeuler.org> - 1.3.1-2
- Disable test
2021-07-31 21:11:07 +00:00
* Sat Jul 31 2021 OpenStack_SIG <openstack@openeuler.org> - 1.3.1-1
2023-07-20 11:41:29 +08:00
- Package init