forked from pool/python-PyECLib
- Update to 1.6.0:
* Find liberasurecode in more environments * Test against Python 3.7 * Test with more backends - Switch to singlespec OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyECLib?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
9aae855832
commit
50e37bf440
23
License.txt
Normal file
23
License.txt
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
Copyright (c) 2013-2015, Kevin Greenan (kmgreen2@gmail.com)
|
||||||
|
Copyright (c) 2013-2015, Tushar Gohad (tusharsg@gmail.com)
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
Redistributions of source code must retain the above copyright notice, this
|
||||||
|
list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
Redistributions in binary form must reproduce the above copyright notice, this
|
||||||
|
list of conditions and the following disclaimer in the documentation and/or
|
||||||
|
other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY
|
||||||
|
THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||||
|
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||||
|
EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||||
|
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||||
|
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||||
|
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
|
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a201f2d3d4b925e1e54443cb251432809a59eeae50e9b85693ca0047c8ec9023
|
|
||||||
size 6682493
|
|
3
pyeclib-1.6.0.tar.gz
Normal file
3
pyeclib-1.6.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8011e31ee89ae7fb99ca6916660c87e0108466a9962bd497a3001020974e3bb1
|
||||||
|
size 6685306
|
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 18 08:45:55 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.6.0:
|
||||||
|
* Find liberasurecode in more environments
|
||||||
|
* Test against Python 3.7
|
||||||
|
* Test with more backends
|
||||||
|
- Switch to singlespec
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 24 10:15:34 UTC 2017 - dmueller@suse.com
|
Tue Oct 24 10:15:34 UTC 2017 - dmueller@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-PyECLib
|
# spec file for package python-PyECLib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,22 +12,26 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-PyECLib
|
Name: python-PyECLib
|
||||||
Version: 1.5.0
|
Version: 1.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Simple interface for implementing erasure codes
|
Summary: Simple interface for implementing erasure codes
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://git.openstack.org/cgit/openstack/pyeclib/
|
URL: http://git.openstack.org/cgit/openstack/pyeclib/
|
||||||
Source: https://files.pythonhosted.org/packages/source/P/PyECLib/pyeclib-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pyeclib/pyeclib-%{version}.tar.gz
|
||||||
|
Source99: https://opendev.org/openstack/pyeclib/raw/branch/master/License.txt
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: liberasurecode-devel >= 1.4.0
|
BuildRequires: liberasurecode-devel >= 1.4.0
|
||||||
BuildRequires: openstack-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python-devel
|
%python_subpackages
|
||||||
BuildRequires: python-setuptools
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library makes use of Jesasure for Reed-Solomon as implemented by the
|
This library makes use of Jesasure for Reed-Solomon as implemented by the
|
||||||
@@ -39,22 +43,23 @@ codes are well-suited to archival use-cases, have a simple construction and
|
|||||||
require a minimum number of participating disks during single-disk
|
require a minimum number of participating disks during single-disk
|
||||||
reconstruction (think XOR-based LRC code).
|
reconstruction (think XOR-based LRC code).
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pyeclib-%{version}
|
%setup -q -n pyeclib-%{version}
|
||||||
|
cp %{SOURCE99} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python2} setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__python2} setup.py install --skip-build --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python2} setup.py test
|
%python_exec setup.py test
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%{python2_sitearch}/pyeclib
|
%doc README.rst
|
||||||
%{python2_sitearch}/pyeclib_c.so
|
%license License.txt
|
||||||
%{python2_sitearch}/pyeclib*egg-info
|
%{python_sitearch}/pyeclib*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user