!4 upgrade version to 2.0.0

From: @tong_1001
Reviewed-by: @overweight
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2021-02-03 09:14:06 +08:00 committed by Gitee
commit 150542e564
3 changed files with 14 additions and 8 deletions

Binary file not shown.

BIN
PyJWT-2.0.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,12 +1,12 @@
%global srcname jwt %global srcname jwt
%bcond_with tests %bcond_with tests
Name: python-jwt Name: python-jwt
Version: 1.7.1 Version: 2.0.0
Release: 3 Release: 1
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
Source0: https://files.pythonhosted.org/packages/source/P/PyJWT/PyJWT-1.7.1.tar.gz Source0: https://files.pythonhosted.org/packages/source/P/PyJWT/PyJWT-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
%if %{with tests} %if %{with tests}
BuildRequires: python3-pytest python3-pytest-cov python3-pytest-runner BuildRequires: python3-pytest python3-pytest-cov python3-pytest-runner
@ -43,19 +43,25 @@ Requires: python%{python3_pkgversion}-cryptography
%endif %endif
%files -n python%{python3_pkgversion}-jwt %files -n python%{python3_pkgversion}-jwt
%license LICENSE AUTHORS %license LICENSE
%{python3_sitelib}/%{srcname}/ %{python3_sitelib}/%{srcname}/
%{python3_sitelib}/*.egg-info %{python3_sitelib}/*.egg-info
%{_bindir}/pyjwt #%{_bindir}/pyjwt
%files help %files help
%doc README.rst %doc README.rst
%changelog %changelog
* Fri Oct 30 2020 wuchaochao <wuchaochao4@huawei.com> - 1.7.1-3 * Tue Feb 02 2021 shixuantong <shixuantong@huawei.com> - 2.0.0-1
- Type:bufix - Type:enhancement
- CVE:NA - ID:NA
- SUG:NA - SUG:NA
- DESC:upgrade version to 2.0.0
* Fri Oct 30 2020 wuchaochao <wuchaochao4@huawei.com> - 1.7.1-3t
- Type:bufixt
- CVE:NAt
- SUG:NAt
- DESC:remove python2 - DESC:remove python2
* Fri Oct 11 2019 yefei <yefei25@huawei.com> - 1.7.1-2 * Fri Oct 11 2019 yefei <yefei25@huawei.com> - 1.7.1-2