Matej Cepl 2018-12-04 17:21:31 +00:00 committed by Git OBS Bridge
parent 3a3e86ded2
commit 8a2f86b2d9

View File

@ -23,22 +23,17 @@ Release: 0
Summary: OAuthlib authentication support for Requests
License: ISC
Group: Development/Languages/Python
Url: https://github.com/requests/requests-oauthlib
Source: https://pypi.io/packages/source/r/requests-oauthlib/requests-oauthlib-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: fdupes
BuildRequires: python-rpm-macros
URL: https://github.com/requests/requests-oauthlib
Source: https://files.pythonhosted.org/packages/source/r/requests-oauthlib/requests-oauthlib-%{version}.tar.gz
BuildRequires: %{python_module mock}
BuildRequires: %{python_module oauthlib >= 0.6.2}
BuildRequires: %{python_module requests >= 2.0.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-oauthlib >= 0.6.2
Requires: python-requests >= 2.0.0
BuildArch: noarch
%python_subpackages
%description
@ -59,9 +54,9 @@ This project provides first-class OAuth library support for Requests.
%check
#%%python_exec setup.py test
%files %python_files
%defattr(-,root,root,-)
%doc AUTHORS.rst LICENSE README.rst
%files %{python_files}
%license LICENSE
%doc AUTHORS.rst README.rst
%{python_sitelib}/*
%changelog