forked from pool/python-requestsexceptions
Accepting request 507792 from home:tbechtold:branches:devel:languages:python
- update to 1.3.0: * Updated from global requirements * Remove runtime depend on pbr * Update tox for OpenStack - convert to singlespec - update Source url OBS-URL: https://build.opensuse.org/request/show/507792 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requestsexceptions?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
9437a50bb0
commit
f4798a5e77
@@ -16,19 +16,23 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-requestsexceptions
|
||||
Version: 1.2.0
|
||||
Version: 1.3.0
|
||||
Release: 0
|
||||
Summary: Import exceptions from potentially bundled packages in requests
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: http://www.openstack.org/
|
||||
Source: http://tarballs.openstack.org/requestsexceptions/requestsexceptions-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/r/requestsexceptions/requestsexceptions-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-pbr
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: %{python_module pbr}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
The python requests library bundles the urllib3 library, however, some
|
||||
software distributions modify requests to remove the bundled library.
|
||||
@@ -41,12 +45,12 @@ regardless of whether they are bundled.
|
||||
%setup -q -n requestsexceptions-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst ChangeLog LICENSE AUTHORS
|
||||
%{python_sitelib}/*
|
||||
|
Reference in New Issue
Block a user