Update to 2.4.2.

- Add buildroot's bindir to PATH while running the testsuite.
This commit is contained in:
Thomas Moschny 2013-10-05 08:41:07 +02:00
parent d9b4aea7a1
commit 71f464f9ed
3 changed files with 11 additions and 4 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@
/pytest-2.3.2.zip
/pytest-2.3.4.zip
/pytest-2.3.5.tar.gz
/pytest-2.4.2.tar.gz

View File

@ -5,11 +5,11 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%endif
%global pylib_version 1.4.12
%global pylib_version 1.4.17
Name: pytest
Version: 2.3.5
Release: 4%{?dist}
Version: 2.4.2
Release: 1%{?dist}
Summary: Simple powerful testing with Python
Group: Development/Languages
@ -136,10 +136,12 @@ rm -rf %{buildroot}
%check
PATH=%{buildroot}%{_bindir}:${PATH} \
PYTHONPATH=%{buildroot}%{python_sitelib} \
%{buildroot}%{_bindir}/py.test -r s
%if 0%{?with_python3}
pushd %{py3dir}
PATH=%{buildroot}%{_bindir}:${PATH} \
PYTHONPATH=%{buildroot}%{python3_sitelib} \
%{buildroot}%{_bindir}/py.test-3.* -r s
popd
@ -166,6 +168,10 @@ popd
%changelog
* Sat Oct 5 2013 Thomas Moschny <thomas.moschny@gmx.de> - 2.4.2-1
- Update to 2.4.2.
- Add buildroot's bindir to PATH while running the testsuite.
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

View File

@ -1 +1 @@
18f150e7be96b5fe3c388b0e817b8087 pytest-2.3.5.tar.gz
9ce14429bd9fae08a3d9ae6b7046d9fc pytest-2.4.2.tar.gz