enable check

This commit is contained in:
shixuantong 2022-06-07 10:23:28 +08:00
parent c39aed36b5
commit 6ab8affeb4

View File

@ -1,8 +1,8 @@
%global srcname jwt %global srcname jwt
%bcond_with tests %bcond_without tests
Name: python-jwt Name: python-jwt
Version: 2.3.0 Version: 2.3.0
Release: 1 Release: 2
Summary: JSON Web Token implementation in Python Summary: JSON Web Token implementation in Python
License: MIT License: MIT
URL: https://github.com/jpadilla/pyjwt URL: https://github.com/jpadilla/pyjwt
@ -39,7 +39,7 @@ Requires: python%{python3_pkgversion}-cryptography
%check %check
%if %{with tests} %if %{with tests}
%{__python3} setup.py test %{__python3} -m pytest
%endif %endif
%files -n python%{python3_pkgversion}-jwt %files -n python%{python3_pkgversion}-jwt
@ -52,6 +52,9 @@ Requires: python%{python3_pkgversion}-cryptography
%doc README.rst %doc README.rst
%changelog %changelog
* Tue Jun 07 2022 shixuantong <shixuantong@h-partners.com> - 2.3.0-2
- enable check
* Wed Nov 24 2021 liudabo <liudabo1@huawei.com> - 2.3.0-1 * Wed Nov 24 2021 liudabo <liudabo1@huawei.com> - 2.3.0-1
- upgrade version to 2.3.0 - upgrade version to 2.3.0