Add pyjwt[crypto] subpackage

https://fedoraproject.org/wiki/Changes/PythonExtras
This commit is contained in:
Miro Hrončok 2020-07-10 20:19:41 +02:00
parent 47f2562eb3
commit 54fb0949d0

View File

@ -21,7 +21,7 @@ encrypted JSON objects.}
Name: python-%{pkgname} Name: python-%{pkgname}
Version: 1.7.1 Version: 1.7.1
Release: 8%{?dist} Release: 9%{?dist}
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
@ -54,11 +54,16 @@ BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-cryptography >= 1.4.0 BuildRequires: python%{python3_pkgversion}-cryptography >= 1.4.0
BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-pytest
Requires: python%{python3_pkgversion}-cryptography >= 1.4.0
%{?python_extras_subpkg:Recommends: python%{python3_pkgversion}-%{pkgname}+crypto}
%{!?python_extras_subpkg:Requires: python%{python3_pkgversion}-cryptography >= 1.4.0}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}} %{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
%description -n python%{python3_pkgversion}-%{pkgname} %{common_description} %description -n python%{python3_pkgversion}-%{pkgname} %{common_description}
%{?python_extras_subpkg:%python_extras_subpkg -n python%{python3_pkgversion}-%{pkgname} -i %{python3_sitelib}/%{eggname}-%{version}-py%{python3_version}.egg-info crypto}
%endif %endif
@ -104,6 +109,9 @@ rm setup.cfg
%changelog %changelog
* Fri Jul 10 2020 Miro Hrončok <mhroncok@redhat.com> - 1.7.1-9
- Add pyjwt[crypto] subpackage
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.7.1-8 * Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.7.1-8
- Rebuilt for Python 3.9 - Rebuilt for Python 3.9