Blame SPECS/python-extras.spec

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