Add oauthlib[signedtoken] subpackage

https://fedoraproject.org/wiki/Changes/PythonExtras
This commit is contained in:
Miro Hrončok 2020-07-10 20:21:10 +02:00
parent 6b94c1579b
commit 2bcdc6e5b4

View File

@ -20,7 +20,7 @@
Name: python-oauthlib Name: python-oauthlib
Version: 3.0.2 Version: 3.0.2
Release: 6%{?dist} Release: 7%{?dist}
Summary: An implementation of the OAuth request-signing logic Summary: An implementation of the OAuth request-signing logic
License: BSD License: BSD
@ -88,8 +88,9 @@ BuildRequires: python3-blinker
BuildRequires: python3-jwt >= 1.6.0 BuildRequires: python3-jwt >= 1.6.0
BuildRequires: python3-cryptography >= 1.4.0 BuildRequires: python3-cryptography >= 1.4.0
Requires: python3-jwt >= 1.6.0 %{?python_extras_subpkg:Recommends: python3-oauthlib+signedtoken}
Requires: python3-cryptography >= 1.4.0 %{!?python_extras_subpkg:Requires: python3-jwt >= 1.6.0}
%{!?python_extras_subpkg:Requires: python3-cryptography >= 1.4.0}
%description -n python3-oauthlib %description -n python3-oauthlib
OAuthLib is a generic utility which implements the logic of OAuth without OAuthLib is a generic utility which implements the logic of OAuth without
@ -99,6 +100,8 @@ onto your favourite web framework. If you're a maintainer of such a
library, write a thin veneer on top of OAuthLib and get OAuth support for library, write a thin veneer on top of OAuthLib and get OAuth support for
very little effort. very little effort.
%{?python_extras_subpkg:%python_extras_subpkg -n python3-oauthlib -i %{python3_sitelib}/%{modname}-%{version}-*.egg-info signedtoken}
%endif # with python3 %endif # with python3
%prep %prep
@ -152,6 +155,9 @@ rm -rf %{modname}.egg-info
%endif # with python3 %endif # with python3
%changelog %changelog
* Fri Jul 10 2020 Miro Hrončok <mhroncok@redhat.com> - 3.0.2-7
- Add oauthlib[signedtoken] subpackage
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 3.0.2-6 * Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 3.0.2-6
- Rebuilt for Python 3.9 - Rebuilt for Python 3.9