From 3c224ba39d4a539c5906798ea309ec1c46464883 Mon Sep 17 00:00:00 2001 From: caodongxia <315816521@qq.com> Date: Mon, 27 Sep 2021 10:56:22 +0800 Subject: [PATCH] Provides python-oauthlib (cherry picked from commit 5cefe1bab064eec4cb8e3a5d0e7cf6c64ee4f0ce) --- python-oauthlib.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python-oauthlib.spec b/python-oauthlib.spec index aee3f99..eca36cd 100644 --- a/python-oauthlib.spec +++ b/python-oauthlib.spec @@ -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 - 3.1.0-2 +- Provides python-oauthlib + * Sat Aug 22 2020 wenzhanli - 3.1.0-1 - Package update version 3.1.0