From 803feed427a7f8833c8047ce9ec7ce5473272f4cdc5682e4d8eba4b3b99c5b4d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 16 May 2017 12:43:14 +0000 Subject: [PATCH] Accepting request 494407 from devel:languages:python - Fix source URL missing "/" - Implement single-spec version. - Fix source URL. - Update to 1.5.47 Too many changes to list, please see: https://github.com/boto/botocore/blob/1.5.47/CHANGELOG.rst OBS-URL: https://build.opensuse.org/request/show/494407 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-botocore?expand=0&rev=15 --- botocore-1.4.86.tar.gz | 3 --- botocore-1.5.47.tar.gz | 3 +++ python-botocore.changes | 14 ++++++++++++ python-botocore.spec | 47 +++++++++++++++++++---------------------- 4 files changed, 39 insertions(+), 28 deletions(-) delete mode 100644 botocore-1.4.86.tar.gz create mode 100644 botocore-1.5.47.tar.gz diff --git a/botocore-1.4.86.tar.gz b/botocore-1.4.86.tar.gz deleted file mode 100644 index 68e46e6..0000000 --- a/botocore-1.4.86.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:acb78cdb1c1d0c2a299768c11312cc66aca9834d201009f4d5a4b1b1f40353f7 -size 3283524 diff --git a/botocore-1.5.47.tar.gz b/botocore-1.5.47.tar.gz new file mode 100644 index 0000000..4013bb9 --- /dev/null +++ b/botocore-1.5.47.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80378486ab350911e76d4d543a73d688437ab6b5a562c3a18737f99d5a0898d9 +size 3596442 diff --git a/python-botocore.changes b/python-botocore.changes index f6bc206..97a3e10 100644 --- a/python-botocore.changes +++ b/python-botocore.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed May 10 17:37:31 UTC 2017 - rjschwei@suse.com + +- Fix source URL missing "/" + +------------------------------------------------------------------- +Tue Feb 28 22:15:13 UTC 2017 - toddrme2178@gmail.com + +- Implement single-spec version. +- Fix source URL. +- Update to 1.5.47 + Too many changes to list, please see: + https://github.com/boto/botocore/blob/1.5.47/CHANGELOG.rst + ------------------------------------------------------------------- Mon Jan 2 10:02:14 UTC 2017 - dmueller@suse.com diff --git a/python-botocore.spec b/python-botocore.spec index 064b696..9de52e1 100644 --- a/python-botocore.spec +++ b/python-botocore.spec @@ -16,44 +16,39 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-botocore -Version: 1.4.86 +Version: 1.5.47 Release: 0 Summary: Python interface for AWS License: Apache-2.0 Group: Development/Languages/Python Url: https://github.com/boto/botocore -Source0: https://pypi.io/packages/source/b/botocore/botocore-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/b/botocore/botocore-%{version}.tar.gz Patch0: hide_py_pckgmgmt.patch +BuildRequires: %{python_module devel} +BuildRequires: %{python_module docutils >= 0.10} +BuildRequires: %{python_module jmespath < 1.0.0} +BuildRequires: %{python_module jmespath >= 0.7.1} +BuildRequires: %{python_module python-dateutil <= 3.0.0} +BuildRequires: %{python_module python-dateutil >= 2.1} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-devel -BuildRequires: python-docutils >= 0.10 -BuildRequires: python-jmespath < 1.0.0 -BuildRequires: python-jmespath >= 0.7.1 -BuildRequires: python-python-dateutil <= 3.0.0 -BuildRequires: python-python-dateutil >= 2.1 -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros # Testing requirements +%if %{with tests} +BuildRequires: %{python_module nose} BuildRequires: python-mock -BuildRequires: python-nose BuildRequires: python-unittest2 +%endif Requires: python-docutils >= 0.10 Requires: python-jmespath < 1.0.0 Requires: python-jmespath >= 0.7.1 Requires: python-python-dateutil <= 3.0.0 Requires: python-python-dateutil >= 2.1 -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -BuildRequires: python-ordereddict >= 1.1 -BuildRequires: python-simplejson >= 3.3.0 -Requires: python-ordereddict >= 1.1 -Requires: python-simplejson >= 3.3.0 -%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif +%python_subpackages %description A low-level interface to a growing number of Amazon Web Services. @@ -63,16 +58,18 @@ A low-level interface to a growing number of Amazon Web Services. %patch0 -p1 %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-scripts=%{_bindir} -%fdupes %buildroot/%_prefix +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with tests} %check -nosetests tests/unit +%python_expand nosetests-%{$python_bin_suffix} tests/unit +%endif -%files +%files %{python_files} %defattr(-,root,root,-) %doc LICENSE.txt README.rst %{python_sitelib}/botocore/