Blame SPECS/python-testresources.spec

aba183
%global pypi_name testresources
aba183
aba183
Name:           python-%{pypi_name}
aba183
Version:        2.0.1
aba183
Release:        2%{?dist}
aba183
Summary:        Testresources, a pyunit extension for managing expensive test resources
aba183
aba183
License:        ASL 2.0 and BSD and GPLv2+
aba183
# file testresources/tests/TestUtil.py is GPLv2+
aba183
URL:            https://launchpad.net/testresources
aba183
Source0:        https://pypi.python.org/packages/source/t/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
aba183
BuildArch:      noarch
aba183
aba183
%description
aba183
testresources: extensions to python unittest to allow declarative use
aba183
of resources by test cases.
aba183
aba183
%package -n python3-%{pypi_name}
aba183
Summary:        Testresources, a pyunit extension for managing expensive test resources
aba183
%{?python_provide:%python_provide python3-%{pypi_name}}
aba183
BuildRequires: python3-devel
aba183
BuildRequires: python3-setuptools
aba183
BuildRequires: python3-testtools
aba183
BuildRequires: python3-fixtures
aba183
aba183
%description -n python3-%{pypi_name}
aba183
testresources: extensions to python unittest to allow declarative use
aba183
of resources by test cases.
aba183
aba183
aba183
%prep
aba183
%setup -q -n %{pypi_name}-%{version}
aba183
# Remove bundled egg-info
aba183
rm -rf lib/%{pypi_name}.egg-info
aba183
aba183
aba183
%build
aba183
%py3_build
aba183
aba183
aba183
%install
aba183
%py3_install
aba183
aba183
aba183
%check
aba183
%{__python3} setup.py test
aba183
aba183
aba183
%files -n python3-%{pypi_name}
aba183
%doc README.rst NEWS doc
aba183
%{python3_sitelib}/%{pypi_name}
aba183
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
aba183
aba183
%changelog
aba183
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
aba183
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
aba183
aba183
* Thu Sep 10 2020 Joel Capitao <jcapitao@redhat.com> - 2.0.1-1
aba183
- Update to 2.0.1
aba183
aba183
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-17
aba183
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
aba183
aba183
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-16
aba183
- Rebuilt for Python 3.9
aba183
aba183
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-15
aba183
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
aba183
aba183
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-14
aba183
- Rebuilt for Python 3.8.0rc1 (#1748018)
aba183
aba183
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-13
aba183
- Rebuilt for Python 3.8
aba183
aba183
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-12
aba183
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
aba183
aba183
* Sun Mar 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-11
aba183
- Subpackage python2-testresources has been removed
aba183
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
aba183
aba183
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-10
aba183
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
aba183
aba183
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-9
aba183
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
aba183
aba183
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-8
aba183
- Rebuilt for Python 3.7
aba183
aba183
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.0-7
aba183
- Update Python 2 dependency declarations to new packaging standards
aba183
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
aba183
aba183
* Thu Feb  8 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 1.0.0-6
aba183
- Use versioned macros
aba183
aba183
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
aba183
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
aba183
aba183
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
aba183
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
aba183
aba183
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-3
aba183
- Rebuild for Python 3.6
aba183
aba183
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
aba183
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
aba183
aba183
* Thu Feb 18 2016 Matthias Runge <mrunge@redhat.com> - 1.0.0-1
aba183
- update to 1.0.0 (rhbz#1309577)
aba183
aba183
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-9
aba183
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
aba183
aba183
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
aba183
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
aba183
aba183
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-7
aba183
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
aba183
aba183
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-6
aba183
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
aba183
aba183
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.2.7-5
aba183
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
aba183
aba183
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-4
aba183
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
aba183
aba183
* Fri May 31 2013 Matthias Runge <mrunge@redhat.com> - 0.2.7-3
aba183
- lice
aba183
* Fri May 31 2013 Matthias Runge <mrunge@redhat.com> - 0.2.7-2
aba183
- spec cleanups, added NEWS, doc/ to doc, really removed bundled egg-info
aba183
aba183
* Wed May 29 2013 Matthias Runge <mrunge@redhat.com> - 0.2.7-1
aba183
- Initial package.