python-sure/python-sure.spec

176 lines
5.5 KiB
RPMSpec
Raw Normal View History

2012-06-27 05:37:41 +00:00
%global pypi_name sure
2018-05-17 10:37:49 +00:00
Name: python-%{pypi_name}
2018-05-17 14:41:22 +00:00
Version: 1.4.11
2018-06-15 16:25:40 +00:00
Release: 2%{?dist}
2018-05-17 10:35:58 +00:00
Summary: Utility belt for automated testing in Python
2012-06-27 05:37:41 +00:00
License: GPLv3+
2012-06-27 05:37:41 +00:00
URL: https://github.com/gabrielfalcao/sure
Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
2012-06-27 05:37:41 +00:00
BuildArch: noarch
2018-05-17 10:37:49 +00:00
BuildRequires: python2-devel
BuildRequires: python-mock
BuildRequires: python-nose
BuildRequires: python-setuptools
BuildRequires: python-six
Requires: python-six
2012-06-27 05:37:41 +00:00
2018-05-17 10:37:49 +00:00
BuildRequires: python3-devel
BuildRequires: python3-mock
BuildRequires: python3-nose
BuildRequires: python3-setuptools
BuildRequires: python3-six
2012-06-27 05:37:41 +00:00
%description
A testing library for Python with powerful and flexible assertions. Sure is
heavily inspired by should.js.
2018-05-17 10:40:11 +00:00
%package -n python2-%{pypi_name}
2018-05-17 10:35:58 +00:00
Summary: %{summary} 2
%{?python_provide:%python_provide python2-%{pypi_name}}
%description -n python2-%{pypi_name}
A testing library for Python with powerful and flexible assertions. Sure is
heavily inspired by should.js.
2012-06-27 05:37:41 +00:00
2018-05-17 10:40:11 +00:00
%package -n python3-%{pypi_name}
2018-05-17 10:35:58 +00:00
Summary: %{summary} 3
%{?python_provide:%python_provide python3-%{pypi_name}}
2018-05-17 10:37:49 +00:00
Requires: python3-six
%description -n python3-%{pypi_name}
A testing library for Python with powerful and flexible assertions. Sure is
heavily inspired by should.js.
2018-05-17 10:40:11 +00:00
2012-06-27 05:37:41 +00:00
%prep
%setup -q -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
2018-05-17 10:40:11 +00:00
2012-06-27 05:37:41 +00:00
%build
%py2_build
2018-05-17 10:34:56 +00:00
%py3_build
2018-05-17 10:40:11 +00:00
2012-06-27 05:37:41 +00:00
%install
%py2_install
2018-05-17 10:34:56 +00:00
%py3_install
2018-05-17 10:40:11 +00:00
2012-06-27 05:37:41 +00:00
%check
%{__python2} -m nose --verbosity 2
%{__python3} -m nose --verbosity 2
2018-05-17 10:40:11 +00:00
%files -n python2-%{pypi_name}
2012-06-27 05:37:41 +00:00
%doc COPYING
%{python2_sitelib}/%{pypi_name}
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
2012-06-27 05:37:41 +00:00
%files -n python3-%{pypi_name}
%doc COPYING
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
2018-05-17 10:40:11 +00:00
2012-06-27 05:37:41 +00:00
%changelog
2018-06-15 16:25:40 +00:00
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1.4.11-2
- Rebuilt for Python 3.7
2018-05-17 14:41:22 +00:00
* Thu May 17 2018 Miro Hrončok <mhroncok@redhat.com> - 1.4.11-1
- Updated to 1.4.11 (#1421319)
* Thu May 17 2018 Miro Hrončok <mhroncok@redhat.com> - 1.4.10-1
- Updated to 1.4.10 that supports Python 3.7 (#1578530)
2018-05-17 10:34:56 +00:00
- Stop py3dir pushd/popd, it is not needed
- Removed an unneeded shebeng sed
2018-05-17 10:35:58 +00:00
- Drop %%sum macro, use %%summary
2018-05-17 10:37:49 +00:00
- Drop forbidden SCL macros
2018-05-17 10:40:11 +00:00
- Drop unneeded python3 conditional
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2017-09-29 19:07:08 +00:00
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 1.4.0-4
- Cleanup spec file conditionals
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Dec 21 2016 Adam Williamson <awilliam@redhat.com> - 1.4.0-1
- New release 1.4.0 (builds against Python 3.6)
- Drop sources merged upstream
- Modernize spec a bit (use modern macros)
- Rename python2 package to python2-sure
2016-12-19 17:20:38 +00:00
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.2.7-6
- Rebuild for Python 3.6
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.7-5
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-10-14 06:21:46 +00:00
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 1.2.7-3
- Rebuilt for Python3.5 rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2014-11-14 12:30:20 +00:00
* Fri Nov 14 2014 Slavek Kabrda <bkabrda@redhat.com> - 1.2.7-1
- Updated to 1.2.7
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.2.5-3
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
* Mon Mar 31 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.2.5-2
- Remove unneeded dependencies from setup.py.
Resolves: rhbz#1082400
* Fri Mar 07 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.2.5-1
- Updated to 1.2.5
- Fix with_python3 macro definition to work correctly on EPEL, too.
* Fri Nov 29 2013 Miro Hrončok <mhroncok@redhat.com> - 1.2.3-1
- Updated
- Introduced Python 3 subpackage
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-05-30 12:35:27 +00:00
* Thu May 30 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 1.1.7-2
- Introduce SCL macros in the specfile.
* Mon Feb 18 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 1.1.7-1
- Update to 1.1.7.
- License change from MIT to GPLv3.
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-11-05 12:30:15 +00:00
* Mon Nov 05 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.0.6-1
- Update to 1.0.6.
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-06-27 05:37:41 +00:00
* Tue Jun 26 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.10.3-2
- python-devel should be python2-devel
- URL now points to the real homepage of the project
* Fri Jun 22 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.10.3-1
- Initial package.