From df684907ee4ddb135e1aa92668bdc0abd837e33a Mon Sep 17 00:00:00 2001 From: Michael Kelly Date: Fri, 25 Mar 2022 07:50:46 -0700 Subject: [PATCH] Clean up explicit BuildRequires --- python-oauthlib.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/python-oauthlib.spec b/python-oauthlib.spec index d8bf33c..be0ed10 100644 --- a/python-oauthlib.spec +++ b/python-oauthlib.spec @@ -24,10 +24,6 @@ Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-pytest -BuildRequires: %{py3_dist blinker} -BuildRequires: python3-jwt -BuildRequires: %{py3_dist cryptography} - %description -n python3-oauthlib OAuthLib is a generic utility which implements the logic of OAuth without assuming a specific HTTP request object or web framework. Use it to graft @@ -36,11 +32,13 @@ 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 very little effort. +%pyproject_extras_subpkg -n python3-oauthlib rsa,signedtoken,signals + %prep %autosetup -n oauthlib-%{version} -p1 %generate_buildrequires -%pyproject_buildrequires +%pyproject_buildrequires -x rsa,signedtoken,signals %build %pyproject_wheel