diff --git a/pyjwt-2.10.1.tar.gz b/pyjwt-2.10.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..76e90acbeea295dc314a2ce4fc537a5e407143bb Binary files /dev/null and b/pyjwt-2.10.1.tar.gz differ diff --git a/pyjwt-2.9.0.tar.gz b/pyjwt-2.9.0.tar.gz deleted file mode 100644 index fa2fb4486589b42878435e5dd5e4045d5183811e..0000000000000000000000000000000000000000 Binary files a/pyjwt-2.9.0.tar.gz and /dev/null differ diff --git a/python-jwt.spec b/python-jwt.spec index 0686377d9f9e4886b8df083347528f70c18050e8..4dcc80fd0ed72b243ff020fdb75f773b2c90011d 100644 --- a/python-jwt.spec +++ b/python-jwt.spec @@ -1,18 +1,23 @@ %global srcname jwt %bcond_without tests Name: python-jwt -Version: 2.9.0 -Release: 2 +Version: 2.10.1 +Release: 1 Summary: JSON Web Token implementation in Python License: MIT URL: https://github.com/jpadilla/pyjwt -Source0: https://files.pythonhosted.org/packages/fb/68/ce067f09fca4abeca8771fe667d89cc347d1e99da3e093112ac329c6020e/pyjwt-2.9.0.tar.gz +Source0: https://files.pythonhosted.org/packages/e7/46/bd74733ff231675599650d3e47f361794b22ef3e3770998dda30d3b63726/pyjwt-2.10.1.tar.gz BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-setuptools +Requires: python3-cryptography >= 3.4.0 + %if %{with tests} BuildRequires: python3-pytest python3-pytest-cov python3-pytest-runner %endif -BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-setuptools python%{python3_pkgversion}-cryptography %global _description \ PyJWT is a Python library which allows you to encode and decode JSON Web Tokens (JWT). \ JWT is an open, industry-standard (RFC 7519) for representing claims securely between two parties. @@ -33,10 +38,10 @@ Requires: python%{python3_pkgversion}-cryptography %autosetup -n pyjwt-%{version} -p1 %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install %check %if %{with tests} @@ -44,16 +49,19 @@ rm -f tests/test_jwks_client.py %{__python3} -m pytest %endif -%files -n python%{python3_pkgversion}-jwt +%files -n python3-jwt +%doc README.rst %license LICENSE -%{python3_sitelib}/%{srcname}/ -%{python3_sitelib}/*.egg-info -#%{_bindir}/pyjwt +%{python3_sitelib}/pyjwt +%{python3_sitelib}/PyJWT-*.dist-info %files help %doc README.rst %changelog +* Tue Nov 25 2025 liudongshi - 2.10.1-1 +- Update package to version 2.10.1 + * Fri Jan 24 2025 xinsheng - 2.9.0-2 - skip test case which need network