diff --git a/python-requestsexceptions.changes b/python-requestsexceptions.changes index f9901f3..be84751 100644 --- a/python-requestsexceptions.changes +++ b/python-requestsexceptions.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Jul 3 11:48:19 UTC 2017 - tbechtold@suse.com + +- update to 1.3.0: + * Updated from global requirements + * Remove runtime depend on pbr + * Update tox for OpenStack +- convert to singlespec +- update Source url + ------------------------------------------------------------------- Wed May 24 09:00:00 UTC 2017 - tbechtold@suse.com diff --git a/python-requestsexceptions.spec b/python-requestsexceptions.spec index f86e558..7908eeb 100644 --- a/python-requestsexceptions.spec +++ b/python-requestsexceptions.spec @@ -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}/* diff --git a/requestsexceptions-1.2.0.tar.gz b/requestsexceptions-1.2.0.tar.gz deleted file mode 100644 index 7af97a4..0000000 --- a/requestsexceptions-1.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8b762ba6ec5f4f5af50bdd3ab07184a0e63803d70e8b1bbbd429a8f5216fe13d -size 6662 diff --git a/requestsexceptions-1.3.0.tar.gz b/requestsexceptions-1.3.0.tar.gz new file mode 100644 index 0000000..34de561 --- /dev/null +++ b/requestsexceptions-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f141ba636d6748cd29208c1955bde38bf00fcdda1a685bc09d8ed133700353e +size 6818