#2 Add oauthlib[signedtoken] subpackage
Merged 3 years ago by churchyard. Opened 3 years ago by churchyard.
rpms/ churchyard/python-oauthlib extras  into  master

file modified
+9 -3
@@ -20,7 +20,7 @@ 

  

  Name:               python-oauthlib

  Version:            3.0.2

- Release:            6%{?dist}

+ Release:            7%{?dist}

  Summary:            An implementation of the OAuth request-signing logic

  

  License:            BSD
@@ -88,8 +88,9 @@ 

  BuildRequires:      python3-jwt >= 1.6.0

  BuildRequires:      python3-cryptography >= 1.4.0

  

- Requires:           python3-jwt >= 1.6.0

- Requires:           python3-cryptography >= 1.4.0

+ %{?python_extras_subpkg:Recommends: python3-oauthlib+signedtoken}

+ %{!?python_extras_subpkg:Requires:  python3-jwt >= 1.6.0}

+ %{!?python_extras_subpkg:Requires:  python3-cryptography >= 1.4.0}

  

  %description -n python3-oauthlib

  OAuthLib is a generic utility which implements the logic of OAuth without
@@ -99,6 +100,8 @@ 

  library, write a thin veneer on top of OAuthLib and get OAuth support for

  very little effort.

  

+ %{?python_extras_subpkg:%python_extras_subpkg -n python3-oauthlib -i %{python3_sitelib}/%{modname}-%{version}-*.egg-info signedtoken}

+ 

  %endif # with python3

  

  %prep
@@ -152,6 +155,9 @@ 

  %endif # with python3

  

  %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

  - Rebuilt for Python 3.9

  

rebased onto 2bcdc6e

3 years ago

Pull-Request has been merged by churchyard

3 years ago