Add dependency on psutil and fix build

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-02-13 19:10:04 -05:00
commit c8e222785c
2 changed files with 42 additions and 0 deletions

View file

@ -15,10 +15,12 @@ Release: 2%{?dist}
License: MIT
URL: https://github.com/FrancescAlted/python-blosc
Source0: https://pypi.python.org/packages/source/b/%{module}/%{module}-%{version}.tar.gz
Patch0: 0001-tests-fix-error-with-new-numpy.patch
BuildRequires: blosc-devel
BuildRequires: python2-devel
BuildRequires: numpy
BuildRequires: python2-psutil
%description
%{summary}.
@ -38,6 +40,7 @@ Summary: Python wrapper for the blosc high performance compressor
BuildRequires: python3-devel
BuildRequires: python3-numpy
BuildRequires: python3-psutil
%{?python_provide:%python_provide python3-blosc}
%{?fedora:Recommends: python3-numpy}
@ -86,6 +89,10 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} python3 -c 'import sys, blosc; sys.ex
%endif
%changelog
* Sat Feb 13 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@bupkis> - 1.2.8-2
- Add dependency on psutil to check for leaks during build
- Fix build (#1307896)
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild