forked from pool/python-PyJWT
- Clean up SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=57
This commit is contained in:
@@ -54,11 +54,12 @@ find ./ -type f -name "*.py" -perm 644 -exec sed -i -e '1{\@^#!%{_bindir}/env py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -o addopts="" -k "not test_verify_false_deprecated"
|
||||
%pytest -k "not test_verify_false_deprecated"
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/jwt
|
||||
%{python_sitelib}/PyJWT-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user