From 8a2f86b2d9e1ae6ef0af78c948eca4d4ca1276e67bdabea63dc8674225c16c55 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:21:31 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-oauthlib?expand=0&rev=10 --- python-requests-oauthlib.spec | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/python-requests-oauthlib.spec b/python-requests-oauthlib.spec index 63519ea..d592777 100644 --- a/python-requests-oauthlib.spec +++ b/python-requests-oauthlib.spec @@ -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