Subpackage python2-Bottleneck has been removed
This commit is contained in:
+9
-37
@@ -2,13 +2,15 @@
|
||||
|
||||
Name: python-%{upname}
|
||||
Version: 1.2.1
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: Collection of fast NumPy array functions written in Cython
|
||||
|
||||
License: BSD
|
||||
URL: http://berkeleyanalytics.com/bottleneck
|
||||
Source0: https://files.pythonhosted.org/packages/source/B/%{upname}/%{upname}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
|
||||
%description
|
||||
%{name} is a collection of fast NumPy array functions
|
||||
written in Cython.
|
||||
@@ -23,26 +25,6 @@ BuildArch: noarch
|
||||
This package contains the HTML-docs for %{name}.
|
||||
|
||||
|
||||
%package -n python2-%{upname}
|
||||
Summary: Collection of fast NumPy array functions written in Cython
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: python2-numpy
|
||||
BuildRequires: python2-nose
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-scipy
|
||||
|
||||
Requires: numpy%{?_isa}
|
||||
Requires: scipy%{?_isa}
|
||||
|
||||
%{?python_provide:%python_provide python2-%{upname}}
|
||||
|
||||
%description -n python2-%{upname}
|
||||
python2-%{upname} is a collection of fast NumPy array functions
|
||||
written in Cython.
|
||||
|
||||
|
||||
%package -n python3-%{upname}
|
||||
Summary: Collection of fast NumPy array functions written in Cython
|
||||
|
||||
@@ -57,7 +39,7 @@ BuildRequires: python3-sphinx
|
||||
Requires: python3-numpy%{?_isa}
|
||||
Requires: python3-scipy%{?_isa}
|
||||
|
||||
%{?python_provide:%python_provide python2-%{upname}}
|
||||
%{?python_provide:%python_provide python3-%{upname}}
|
||||
|
||||
%description -n python3-%{upname}
|
||||
python3-%{upname} is a collection of fast NumPy array functions
|
||||
@@ -75,18 +57,14 @@ written in Cython.
|
||||
%{__sed} -i 's/fid = file(/fid = open(/' doc/source/conf.py
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
# clean unneeded stuff
|
||||
%{__rm} -rf %{buildroot}%{python2_sitearch}/bottleneck/src \
|
||||
%{buildroot}%{python2_sitearch}/bottleneck/LICENSE \
|
||||
%{buildroot}%{python3_sitearch}/bottleneck/src \
|
||||
%{__rm} -rf %{buildroot}%{python3_sitearch}/bottleneck/src \
|
||||
%{buildroot}%{python3_sitearch}/bottleneck/LICENSE
|
||||
|
||||
%{_fixperms} %{buildroot}/*
|
||||
@@ -106,9 +84,6 @@ unset PYTHONPATH
|
||||
|
||||
|
||||
%check
|
||||
pushd tmp_inst/%{python2_sitearch}
|
||||
%{_bindir}/nosetests-%{python2_version} -vv
|
||||
popd
|
||||
pushd tmp_inst/%{python3_sitearch}
|
||||
%{_bindir}/nosetests-%{python3_version} -vv
|
||||
popd
|
||||
@@ -119,13 +94,6 @@ popd
|
||||
%doc README* RELEASE* doc/html
|
||||
|
||||
|
||||
%files -n python2-%{upname}
|
||||
%license bottleneck/LICENSE
|
||||
%doc README* RELEASE*
|
||||
%{python2_sitearch}/bottleneck
|
||||
%{python2_sitearch}/%{upname}-%{version}-py%{python2_version}.egg-info
|
||||
|
||||
|
||||
%files -n python3-%{upname}
|
||||
%license bottleneck/LICENSE
|
||||
%doc README* RELEASE*
|
||||
@@ -134,6 +102,10 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jun 28 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-9
|
||||
- Subpackage python2-Bottleneck has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
||||
Reference in New Issue
Block a user