!35 [sync] PR-9: Provides python-oauthlib

From: @openeuler-sync-bot 
Reviewed-by: @hubin95 
Signed-off-by: @hubin95
This commit is contained in:
openeuler-ci-bot 2022-12-16 02:56:59 +00:00 committed by Gitee
commit 122bfbd09f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: python-oauthlib
Version: 3.1.0
Release: 1
Release: 2
Summary: Python Framework for OAuth1 & OAuth2
License: BSD
URL: https://github.com/oauthlib/oauthlib
@ -20,6 +20,7 @@ and get OAuth support for very little effort.
%if 0%{?with_python2}
%package -n python2-oauthlib
Summary: Python2 package for oauthlib
%{?python_provide:%python_provide python2-oauthlib}
BuildRequires: python2-devel python2-setuptools python2-nose python2-mock
BuildRequires: python2-blinker python2-jwt python2-cryptography
Requires: python2-jwt python2-cryptography
@ -31,6 +32,7 @@ Python2 package for oauthlib
%if 0%{?with_python3}
%package -n python3-oauthlib
Summary: Python3 package for oauthlib
%{?python_provide:%python_provide python3-oauthlib}
BuildRequires: python3-devel python3-setuptools python3-nose python3-mock
BuildRequires: python3-blinker python3-jwt python3-cryptography
Requires: python3-jwt python3-cryptography
@ -89,6 +91,9 @@ sed -i "s/'unittest2', //" setup.py
%endif
%changelog
* Mon Sep 27 2021 caodongxia <caodongxia@huawei.com> - 3.1.0-2
- Provides python-oauthlib
* Sat Aug 22 2020 wenzhanli<wenzhanli2@huaweir.com> - 3.1.0-1
- Package update version 3.1.0