1.2.0-1: rebase to 1.2.0; add %check section

This commit is contained in:
David Malcolm 2012-08-29 11:55:31 -04:00
parent 124cd3a5fd
commit 04d40bdcb6
3 changed files with 22 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/six-1.0.0.tar.gz
/six-1.1.0.tar.gz
/six-1.2.0.tar.gz

View File

@ -9,8 +9,8 @@
%endif
Name: python-six
Version: 1.1.0
Release: 4%{?dist}
Version: 1.2.0
Release: 1%{?dist}
Summary: Python 2 and 3 compatibility utilities
Group: Development/Languages
@ -21,8 +21,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
# For use by selftests:
BuildRequires: pytest
BuildRequires: tkinter
%if 0%{?with_python3}
BuildRequires: python3-devel
# For use by selftests:
BuildRequires: python3-pytest
BuildRequires: python3-tkinter
%endif
%description
@ -72,6 +78,14 @@ popd
%clean
rm -rf $RPM_BUILD_ROOT
%check
py.test -rfsxX test_six.py
%if 0%{?with_python3}
pushd %{py3dir}
py.test-%{python3_version} -rfsxX test_six.py
popd
%endif
%files
%defattr(-,root,root,-)
@ -87,6 +101,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Aug 29 2012 David Malcolm <dmalcolm@redhat.com> - 1.2.0-1
- 1.2.0 (rhbz#852658)
- add %%check section
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 1.1.0-4
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3

View File

@ -1 +1 @@
9e8099b57cd27493a6988e9c9b313e23 six-1.1.0.tar.gz
2a5d1afc79912832ac78fd38e3d75d7e six-1.2.0.tar.gz