- added explicit version dependency for python-request to avoid build errors

for old distributions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=2
This commit is contained in:
Philipp Seiler 2014-11-17 15:59:46 +00:00 committed by Git OBS Bridge
parent 0963b2844e
commit 25790cd34c
2 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 17 15:58:27 UTC 2014 - seiler@b1-systems.de
- added explicit version dependency for python-request to avoid build errors
for old distributions
-------------------------------------------------------------------
Thu Nov 13 17:06:47 UTC 2014 - seiler@b1-systems.de

View File

@ -1,5 +1,5 @@
#
# spec file for package
# spec file for package python-requests-toolbelt
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -15,18 +15,20 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define short_name requests-toolbelt
Name: python-requests-toolbelt
Version: 0.3.1
Release: 1
License: Apache-2.0
Release: 0
Summary: Utility belt for advanced users of python-requests
Url: https://pypi.python.org/pypi/requests-toolbelt/0.3.1
License: Apache-2.0
Group: Development/Languages/Python
Url: https://pypi.python.org/pypi/requests-toolbelt/0.3.1
Source: %{short_name}-%{version}.tar.gz
BuildRequires: python-requests >= 2.0.1
BuildRequires: python-setuptools
BuildRequires: python-requests
Requires: python-requests >= 2.0.1
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -70,4 +72,3 @@ python setup.py test
%{python_sitelib}/requests_toolbelt/user_agent.py*
%changelog