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
This commit is contained in:
Dominique Leuenberger 2017-05-16 12:43:14 +00:00 committed by Git OBS Bridge
parent d8016e8509
commit 803feed427
4 changed files with 39 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:acb78cdb1c1d0c2a299768c11312cc66aca9834d201009f4d5a4b1b1f40353f7
size 3283524

3
botocore-1.5.47.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80378486ab350911e76d4d543a73d688437ab6b5a562c3a18737f99d5a0898d9
size 3596442

View File

@ -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

View File

@ -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/