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
|
|
|
|
|
Release: 1
|
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
|
|
|
|
|
|
|
|
|
|
%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
|
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
|