Subpackage python2-sure has been removed
This commit is contained in:
parent
a088747a48
commit
2e567334fb
@ -2,7 +2,7 @@
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.4.11
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Summary: Utility belt for automated testing in Python
|
||||
|
||||
License: GPLv3+
|
||||
@ -10,12 +10,6 @@ URL: https://github.com/gabrielfalcao/sure
|
||||
Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-mock
|
||||
BuildRequires: python2-nose
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python2-six
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-mock
|
||||
BuildRequires: python3-nose
|
||||
@ -27,16 +21,6 @@ A testing library for Python with powerful and flexible assertions. Sure is
|
||||
heavily inspired by should.js.
|
||||
|
||||
|
||||
%package -n python2-%{pypi_name}
|
||||
Summary: %{summary} 2
|
||||
%{?python_provide:%python_provide python2-%{pypi_name}}
|
||||
Requires: python2-six
|
||||
|
||||
%description -n python2-%{pypi_name}
|
||||
A testing library for Python with powerful and flexible assertions. Sure is
|
||||
heavily inspired by should.js.
|
||||
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary} 3
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
@ -54,25 +38,17 @@ rm -rf %{pypi_name}.egg-info
|
||||
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
|
||||
%check
|
||||
%{__python2} -m nose --verbosity 2
|
||||
%{__python3} -m nose --verbosity 2
|
||||
|
||||
|
||||
%files -n python2-%{pypi_name}
|
||||
%doc COPYING
|
||||
%{python2_sitelib}/%{pypi_name}
|
||||
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%doc COPYING
|
||||
%{python3_sitelib}/%{pypi_name}
|
||||
@ -80,6 +56,10 @@ rm -rf %{pypi_name}.egg-info
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Sep 21 2019 Miro Hrončok <mhroncok@redhat.com> - 1.4.11-8
|
||||
- Subpackage python2-sure has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Thu Aug 15 2019 Richard Shaw <hobbes1069@gmail.com> - 1.4.11-7
|
||||
- Rebuild for Python 3.8.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user