|
|
|
@ -5,8 +5,8 @@ when running tests under a continuous integration server or simply if you don’
|
|
|
|
|
know why the test suite hangs.
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
|
Version: 1.0.0
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 1.2.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: py.test plugin to abort hanging tests
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
@ -17,7 +17,7 @@ BuildArch: noarch
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: python2-pytest
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
#BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{desc}
|
|
|
|
@ -49,11 +49,16 @@ Requires: python3-pytest
|
|
|
|
|
%py2_install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version}
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python2-%{pypi_name}
|
|
|
|
|
%doc README
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{python2_sitelib}/pytest_timeout*
|
|
|
|
|
%{python2_sitelib}/__pycache__/pytest_timeout*
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
|
%doc README
|
|
|
|
@ -62,6 +67,10 @@ Requires: python3-pytest
|
|
|
|
|
%{python3_sitelib}/__pycache__/pytest_timeout*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed May 10 2017 Scott Talbert <swt@techie.net> - 1.2.0-1
|
|
|
|
|
- New upstream release 1.2.0
|
|
|
|
|
- Enable tests
|
|
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|