14
0

Accepting request 659641 from devel:languages:python

Remove superfluous devel dependency for noarch package

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

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 4 12:53:42 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 28 17:27:40 UTC 2017 - alarrosa@suse.com Tue Mar 28 17:27:40 UTC 2017 - alarrosa@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-requests-cache # spec file for package python-requests-cache
# #
# 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,32 +12,29 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-requests-cache Name: python-requests-cache
Version: 0.4.13 Version: 0.4.13
Release: 0 Release: 0
License: BSD-2-Clause
Summary: Persistent cache for requests library Summary: Persistent cache for requests library
Url: https://github.com/reclosedev/requests-cache License: BSD-2-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/reclosedev/requests-cache
Source: https://files.pythonhosted.org/packages/source/r/requests-cache/requests-cache-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/r/requests-cache/requests-cache-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module requests >= 1.1.0} BuildRequires: %{python_module requests >= 1.1.0}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-requests >= 1.1.0 Requires: python-requests >= 1.1.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
Requests-cache is a transparent persistent cache for requests_ (version >= 1.1.0) library. Requests-cache is a transparent persistent cache for requests_ (version >= 1.1.0) library.
It can be useful when you are creating some simple data scraper with constantly It can be useful when you are creating some simple data scraper with constantly
changing parsing logic or data format, and don't want to redownload pages or changing parsing logic or data format, and don't want to redownload pages or
write complex error handling and persistence. write complex error handling and persistence.
@@ -53,17 +50,17 @@ take a look at `httpcache <https://github.com/Lukasa/httpcache>`_ and
%setup -q -n requests-cache-%{version} %setup -q -n requests-cache-%{version}
%build %build
%{python_build} %python_build
%install %install
%{python_install} %python_install
%check %check
%python_exec setup.py test %python_exec setup.py test
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE
%doc README.rst LICENSE %doc README.rst
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog