Accepting request 659647 from devel:languages:python

Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659647
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-oauthlib?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2018-12-24 10:43:25 +00:00 committed by Git OBS Bridge
commit 7695400339
2 changed files with 15 additions and 16 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 4 12:53:49 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Wed Apr 26 08:55:54 UTC 2017 - pousaduarte@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-requests-oauthlib
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -23,23 +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
BuildRequires: %{python_module devel}
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
@ -60,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