1.2.0-1: rebase to 1.2.0; add %check section
This commit is contained in:
parent
124cd3a5fd
commit
04d40bdcb6
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/six-1.0.0.tar.gz
|
/six-1.0.0.tar.gz
|
||||||
/six-1.1.0.tar.gz
|
/six-1.1.0.tar.gz
|
||||||
|
/six-1.2.0.tar.gz
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: python-six
|
Name: python-six
|
||||||
Version: 1.1.0
|
Version: 1.2.0
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Python 2 and 3 compatibility utilities
|
Summary: Python 2 and 3 compatibility utilities
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -21,8 +21,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
# For use by selftests:
|
||||||
|
BuildRequires: pytest
|
||||||
|
BuildRequires: tkinter
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
# For use by selftests:
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
BuildRequires: python3-tkinter
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -72,6 +78,14 @@ popd
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
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
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -87,6 +101,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 1.1.0-4
|
||||||
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
|
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user