From 1bf4abfe4d5d05c9af2358addf3791181bc8f7fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 17 Oct 2018 23:13:44 +0200 Subject: [PATCH] Subpackage python2-blosc has been removed --- python-blosc.spec | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/python-blosc.spec b/python-blosc.spec index abd8c39..d4b1c63 100644 --- a/python-blosc.spec +++ b/python-blosc.spec @@ -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 - 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 - 1.5.1-1 - Update to latest version (#1372856)