diff --git a/python-PyJWT.changes b/python-PyJWT.changes index 21982e3..9c96e87 100644 --- a/python-PyJWT.changes +++ b/python-PyJWT.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Feb 23 19:47:34 UTC 2018 - tbechtold@suse.com + +- Avoid not needed python-pytest-cov and python-pytest-runner + BuildRequires. There is no need todo a coverage run during + package build. + ------------------------------------------------------------------- Thu Nov 2 02:05:49 UTC 2017 - arun@gmx.de diff --git a/python-PyJWT.spec b/python-PyJWT.spec index edfa4ed..5580dd6 100644 --- a/python-PyJWT.spec +++ b/python-PyJWT.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyJWT # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,8 +29,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module cryptography} BuildRequires: %{python_module devel} -BuildRequires: %{python_module pytest-cov >= 1.7} -BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: dos2unix @@ -74,7 +72,7 @@ find ./ -type f -name "*.py" -perm 644 -exec sed -i -e '1{\@^#!/usr/bin/env pyth %python_uninstall_alternative pyjwt %check -%{python_expand PYTHONPATH=%{buildroot}%{python_sitelib} py.test-%{py_ver} -k "not test_verify_false_deprecated" } +%{python_expand PYTHONPATH=%{buildroot}%{python_sitelib} py.test-%{py_ver} -o addopts="" -k "not test_verify_false_deprecated" } %files %python_files %defattr(-,root,root,-)