14
0
2017-05-16 16:05:09 +00:00
committed by Git OBS Bridge
parent a48a4cec2f
commit 44fedeb0f8
2 changed files with 17 additions and 10 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 16 16:04:50 UTC 2017 - dmueller@suse.com
- convert to singlespec
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 19 10:10:48 UTC 2017 - dmueller@suse.com Thu Jan 19 10:10:48 UTC 2017 - dmueller@suse.com

View File

@@ -26,13 +26,15 @@ License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://pypi.io/packages/source/r/requests-toolbelt/%{version} Url: https://pypi.io/packages/source/r/requests-toolbelt/%{version}
Source: %{short_name}-%{version}.tar.gz Source: %{short_name}-%{version}.tar.gz
BuildRequires: python-requests >= 2.0.1 BuildRequires: %{python_module betamax}
BuildRequires: python-setuptools BuildRequires: %{python_module mock}
Requires: python-requests >= 2.0.1 BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: %{python_module requests}
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} > 1110 %python_subpackages
BuildArch: noarch
%endif
%description %description
This is just a collection of utilities for python-requests, but don't really belong in requests proper. The minimum tested requests version is 2.1.0. In reality, the toolbelt should work with 2.0.1 as well, but some idiosyncracies prevent effective or sane testing on that version. This is just a collection of utilities for python-requests, but don't really belong in requests proper. The minimum tested requests version is 2.1.0. In reality, the toolbelt should work with 2.0.1 as well, but some idiosyncracies prevent effective or sane testing on that version.
@@ -41,15 +43,15 @@ This is just a collection of utilities for python-requests, but don't really bel
%setup -q -n %{short_name}-%{version} %setup -q -n %{short_name}-%{version}
%build %build
python setup.py build %python_build
%install %install
python setup.py install --root %{buildroot} --prefix %{_prefix} %python_install
%check %check
python setup.py test %python_exec setup.py test
%files %files %{python_files}
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS.rst HISTORY.rst README.rst LICENSE %doc AUTHORS.rst HISTORY.rst README.rst LICENSE
%{python_sitelib}/* %{python_sitelib}/*