Clean up explicit BuildRequires

This commit is contained in:
Michael Kelly 2022-03-25 07:50:46 -07:00
parent a6c7cc1428
commit df684907ee
No known key found for this signature in database
GPG Key ID: 77F7FE93040ECF3E

View File

@ -24,10 +24,6 @@ Summary: %{summary}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-pytest BuildRequires: python3-pytest
BuildRequires: %{py3_dist blinker}
BuildRequires: python3-jwt
BuildRequires: %{py3_dist cryptography}
%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
assuming a specific HTTP request object or web framework. Use it to graft 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 library, write a thin veneer on top of OAuthLib and get OAuth support for
very little effort. very little effort.
%pyproject_extras_subpkg -n python3-oauthlib rsa,signedtoken,signals
%prep %prep
%autosetup -n oauthlib-%{version} -p1 %autosetup -n oauthlib-%{version} -p1
%generate_buildrequires %generate_buildrequires
%pyproject_buildrequires %pyproject_buildrequires -x rsa,signedtoken,signals
%build %build
%pyproject_wheel %pyproject_wheel