2836b04
%bcond_without check
eab5eab
40b44ba
# NOTE(hguemar): discussed with maintainer to allow rebuild on RHEL/CentOS
40b44ba
# No impact on Fedora/EPEL!
40b44ba
f53e4a5
Name:           python-extras
90aa8ae
Version:        1.0.0
f6a2dcf
Release:        17%{?dist}
f53e4a5
Summary:        Useful extra bits for Python
f53e4a5
f53e4a5
License:        MIT
f53e4a5
URL:            https://github.com/testing-cabal/extras
90aa8ae
Source0:        https://pypi.io/packages/source/e/extras/extras-%{version}.tar.gz
f53e4a5
f53e4a5
BuildArch:      noarch
f53e4a5
f7d98c4
%global _description\
f7d98c4
extras is a set of extensions to the Python standard library, originally\
f7d98c4
written to make the code within testtools cleaner, but now split out for\
f7d98c4
general use outside of a testing context.\
f7d98c4
f7d98c4
%description %_description
f7d98c4
f53e4a5
%package -n python3-extras
2836b04
Summary:        %summary
2836b04
%{?python_provide:%python_provide python3-extras}
2836b04
BuildRequires:  python3-devel
2836b04
BuildRequires:  python3-setuptools
2836b04
%if %{with check}
2836b04
BuildRequires:  python3-testtools
2836b04
%endif
f53e4a5
2836b04
%description -n python3-extras %_description
f53e4a5
f53e4a5
%prep
f53e4a5
%setup -q -n extras-%{version}
f53e4a5
# Remove bundled egg-info
2836b04
rm -vrf *.egg-info
f53e4a5
f53e4a5
%build
2836b04
%py3_build
f53e4a5
f53e4a5
%install
2836b04
%py3_install
f53e4a5
1af7b22
%if %{with check}
f53e4a5
%check
f53e4a5
%{__python3} setup.py test
40b44ba
%endif
f53e4a5
f53e4a5
%files -n python3-extras
90aa8ae
%license LICENSE
90aa8ae
%doc NEWS README.rst
2836b04
%{python3_sitelib}/extras/
2836b04
%{python3_sitelib}/extras-*.egg-info/
f53e4a5
f53e4a5
%changelog
f6a2dcf
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.0-17
f6a2dcf
- Rebuilt for Python 3.10
f6a2dcf
15ab59f
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 1.0.0-16
15ab59f
- Bootstrap for Python 3.10
15ab59f
73bb3c2
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-15
73bb3c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
73bb3c2
089141c
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-14
089141c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
089141c
1e99bb1
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-13
1e99bb1
- Rebuilt for Python 3.9
1e99bb1
326f9a4
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-12
326f9a4
- Bootstrap for Python 3.9
326f9a4
13ebc77
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-11
13ebc77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
13ebc77
bf2b7ee
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-10
bf2b7ee
- Subpackage python2-extras has been removed
bf2b7ee
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
bf2b7ee
f1f21bc
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-9
f1f21bc
- Rebuilt for Python 3.8
f1f21bc
d7f65c1
* Wed Aug 14 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-8
d7f65c1
- Bootstrap for Python 3.8
d7f65c1
c9ed089
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-7
c9ed089
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c9ed089
c34c53b
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-6
c34c53b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c34c53b
857da27
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
857da27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
857da27
7192f5f
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-4
7192f5f
- Rebuilt for Python 3.7
7192f5f
5d347fc
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-3
5d347fc
- Bootstrap for Python 3.7
5d347fc
40b44ba
* Tue Feb  6 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 1.0.0-2
40b44ba
- Fix build on EL7
40b44ba
90aa8ae
* Sat Sep  2 2017 Jan Beran <jberan@redhat.com> - 1.0.0-1
90aa8ae
- New version
90aa8ae
f7d98c4
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.0.3-17
f7d98c4
- Python 2 binary package renamed to python2-extras
f7d98c4
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
f7d98c4
5dbb08d
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.3-16
5dbb08d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5dbb08d
1b291fa
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.3-15
1b291fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1b291fa
cc6abb0
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 0.0.3-14
cc6abb0
- Enable tests
cc6abb0
dc1363d
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.0.3-13
dc1363d
- Rebuild for Python 3.6
dc1363d
- Disable tests
dc1363d
2c14625
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-12
2c14625
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2c14625
bfa1bc2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.3-11
bfa1bc2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bfa1bc2
d456683
* Sat Nov 14 2015 Toshio Kuratomi <toshio@fedoraproject.org> - - 0.0.3-10
d456683
- And now re-enable
d456683
a225b51
* Sat Nov 14 2015 Toshio Kuratomi <toshio@fedoraproject.org> - - 0.0.3-9
a225b51
- Temporarily disable tests to bootstrap past a dep loop
a225b51
4f30034
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-8
4f30034
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
4f30034
6ea5067
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-7
6ea5067
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6ea5067
f291e6b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-6
f291e6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f291e6b
282f96f
* Fri May 16 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.0.3-5
282f96f
- Enable tests again.
282f96f
eab5eab
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.0.3-4
eab5eab
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
eab5eab
- Bootstrap tests to break circular dependency with python-testtools
eab5eab
22bd009
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-3
22bd009
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
22bd009
f53e4a5
* Wed May 29 2013 Matthias Runge <mrunge@redhat.com> - 0.0.3-2
f53e4a5
- spec cleanup and enable tests
f53e4a5
f53e4a5
* Wed May  1 2013 Michel Salim <salimma@fedoraproject.org> - 0.0.3-1
f53e4a5
- Initial package