Version 1.10.2

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-02-13 20:22:09 +01:00
commit d983b20cf6
8 changed files with 337 additions and 240 deletions

View file

@ -1,20 +1,11 @@
Summary: Python wrapper for the Blosc high performance compressor
Name: python-blosc
Version: 1.8.1
Release: 9%{?dist}
Version: 1.10.2
Release: 1%{?dist}
License: MIT
URL: https://github.com/Blosc/python-blosc
Source0: https://github.com/Blosc/python-blosc/archive/v%{version}/blosc-%{version}.tar.gz
# https://github.com/Blosc/python-blosc/pull/200
Patch1: 0001-blosc_extenion-constify-char-pointers-for-Py_BuildVa.patch
Patch2: 0002-setup.py-unbreak-build-on-architectures-which-don-t-.patch
Patch3: 0003-setup.py-catch-import-error-for-cpuinfo.patch
# https://github.com/Blosc/python-blosc/pull/202
Patch4: 0004-Read-os-release-instead-of-using-platform.linux_dist.patch
# Fix Python 3.9 compatibility
# https://github.com/Blosc/python-blosc/pull/218
Patch5: 0005-fix-python-3.9-compatibility.patch
Source1: https://raw.githubusercontent.com/Blosc/python-blosc/f3c5e341a2504a03c225f4f1d9066ccdf4bd31dd/setup.py
BuildRequires: gcc
BuildRequires: blosc-devel >= 1.16.0
@ -41,6 +32,9 @@ Requires: blosc%{_isa} >= 1.16.0
# Remove bundled copy
rm cpuinfo.py
# Overwrite setup.py with the last version that does not use skbuild and cmake
cp %{SOURCE1} .
%build
export BLOSC_DIR=%{_libdir}/blosc CFLAGS="%{optflags}"
export DISABLE_BLOSC_AVX2=1
@ -60,6 +54,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %__python3 -c 'import sys, blosc; sys
%doc README.rst RELEASE_NOTES.rst
%changelog
* Sat Feb 13 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.10.2-1
- Latest version (#1783504)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild