Fix Python 3.9 compatibility (#1792055)

This commit is contained in:
Charalampos Stratakis 2020-05-27 18:09:23 +02:00
commit d017f13c95
2 changed files with 35 additions and 1 deletions

View file

@ -1,7 +1,7 @@
Summary: Python wrapper for the Blosc high performance compressor
Name: python-blosc
Version: 1.8.1
Release: 6%{?dist}
Release: 7%{?dist}
License: MIT
URL: https://github.com/Blosc/python-blosc
Source0: https://github.com/Blosc/python-blosc/archive/v%{version}/blosc-%{version}.tar.gz
@ -12,6 +12,9 @@ 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
BuildRequires: gcc
BuildRequires: blosc-devel >= 1.16.0
@ -57,6 +60,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %__python3 -c 'import sys, blosc; sys
%doc README.rst RELEASE_NOTES.rst
%changelog
* Wed May 27 2020 Charalampos Stratakis <cstratak@redhat.com> - 1.8.1-7
- Fix Python 3.9 compatibility (#1792055)
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.8.1-6
- Rebuilt for Python 3.9