|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
Name: python-%{upstream_name}
|
|
|
|
|
Version: 1.2.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Pytest plugin to randomly order tests and control random.seed
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://github.com/pytest-dev/pytest-randomly
|
|
|
|
@ -37,9 +37,7 @@ rm -r *.egg-info
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
# Tests are failing currently due to:
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1662619
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-3 -v tests/ || :
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitelib} PYTHONDONTWRITEBYTECODE=1 pytest-3 -v tests/
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{upstream_name}
|
|
|
|
|
%doc README.rst HISTORY.rst AUTHORS.rst
|
|
|
|
@ -49,3 +47,8 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-3 -v tests/ || :
|
|
|
|
|
%{python3_sitelib}/%{module_name}*.egg-info
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Dec 30 2019 Dan Callaghan <dan.callaghan@opengear.com> - 1.2.3-2
|
|
|
|
|
- re-enabled tests, suppress pytest bytecode
|
|
|
|
|
|
|
|
|
|
* Mon Dec 31 2018 Dan Callaghan <dan.callaghan@opengear.com> - 1.2.3-1
|
|
|
|
|
- initial version
|
|
|
|
|