Subpackage python2-blosc has been removed
This commit is contained in:
parent
b9ab0a05de
commit
1bf4abfe4d
1 changed files with 5 additions and 21 deletions
|
|
@ -6,7 +6,7 @@
|
|||
Summary: Python wrapper for the Blosc high performance compressor
|
||||
Name: python-%{module}
|
||||
Version: 1.5.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: MIT
|
||||
URL: https://github.com/Blosc/python-blosc
|
||||
Source0: https://github.com/Blosc/python-blosc/archive/v%{version}.tar.gz#/%{module}-%{version}.tar.gz
|
||||
|
|
@ -15,9 +15,7 @@ Patch0: python-blosc-alt-arch.patch
|
|||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: blosc-devel >= 1.9.0
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: numpy
|
||||
BuildRequires: python2-psutil
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-numpy
|
||||
BuildRequires: python%{python3_pkgversion}-psutil
|
||||
|
|
@ -25,15 +23,6 @@ BuildRequires: python%{python3_pkgversion}-psutil
|
|||
%description
|
||||
%{summary}.
|
||||
|
||||
%package -n python2-%{module}
|
||||
Summary: %{summary}
|
||||
|
||||
%{?python_provide:%python_provide python2-blosc}
|
||||
%{?fedora:Recommends: numpy}
|
||||
|
||||
%description -n python2-%{module}
|
||||
%{summary}.
|
||||
|
||||
%package -n python%{python3_pkgversion}-%{module}
|
||||
Summary: Python wrapper for the blosc high performance compressor
|
||||
|
||||
|
|
@ -48,24 +37,15 @@ Summary: Python wrapper for the blosc high performance compressor
|
|||
|
||||
%build
|
||||
export BLOSC_DIR=%{_libdir}/blosc CFLAGS="%{optflags}"
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
cd / # avoid interference with build dir
|
||||
PYTHONPATH=%{buildroot}%{python2_sitearch} %__python2 -c 'import sys, blosc; sys.exit(blosc.test())'
|
||||
PYTHONPATH=%{buildroot}%{python3_sitearch} %__python3 -c 'import sys, blosc; sys.exit(blosc.test())'
|
||||
|
||||
%files -n python2-%{module}
|
||||
%{python2_sitearch}/blosc/
|
||||
%{python2_sitearch}/blosc-%{version}*-py*.egg-info
|
||||
%license LICENSES/PYTHON-BLOSC.txt
|
||||
%doc README.rst RELEASE_NOTES.rst
|
||||
|
||||
%files -n python%{python3_pkgversion}-%{module}
|
||||
%{python3_sitearch}/blosc/
|
||||
%{python3_sitearch}/blosc-%{version}*-py*.egg-info
|
||||
|
|
@ -73,6 +53,10 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %__python3 -c 'import sys, blosc; sys
|
|||
%doc README.rst RELEASE_NOTES.rst
|
||||
|
||||
%changelog
|
||||
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.5.1-2
|
||||
- Subpackage python2-blosc has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Thu Jul 19 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.5.1-1
|
||||
- Update to latest version (#1372856)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue