From ce4915d38e9488023a4df8eaac2b18286df66a06caa7d824174b4752cfe6f187 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 27 Apr 2015 20:08:42 +0000 Subject: [PATCH] Accepting request 304102 from devel:languages:python 1 OBS-URL: https://build.opensuse.org/request/show/304102 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-botocore?expand=0&rev=6 --- botocore-0.105.0.tar.gz | 3 +++ botocore-0.97.0.tar.gz | 3 --- hide_py_pckgmgmt.patch | 14 ++++++-------- python-botocore.changes | 9 +++++++++ python-botocore.spec | 11 ++++++----- 5 files changed, 24 insertions(+), 16 deletions(-) create mode 100644 botocore-0.105.0.tar.gz delete mode 100644 botocore-0.97.0.tar.gz diff --git a/botocore-0.105.0.tar.gz b/botocore-0.105.0.tar.gz new file mode 100644 index 0000000..58c3319 --- /dev/null +++ b/botocore-0.105.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c43f9d1064e1a50828cddbd6a76b6a94a5e8f6d325bc863203c817b36e0d83d +size 1487913 diff --git a/botocore-0.97.0.tar.gz b/botocore-0.97.0.tar.gz deleted file mode 100644 index fb283f9..0000000 --- a/botocore-0.97.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c000b753513e583f67c342edf6416e3e8ef727f59ae5844c301db0ff0c956293 -size 1364097 diff --git a/hide_py_pckgmgmt.patch b/hide_py_pckgmgmt.patch index c517f30..2f7c0e9 100644 --- a/hide_py_pckgmgmt.patch +++ b/hide_py_pckgmgmt.patch @@ -4,10 +4,12 @@ from setuptools import setup, find_packages --requires = ['jmespath==0.6.1', +-requires = ['jmespath==0.6.2', - 'python-dateutil>=2.1,<3.0.0'] -- -- ++#requires = ['jmespath==0.6.2', ++# 'python-dateutil>=2.1,<3.0.0'] + + -if sys.version_info[:2] == (2, 6): - # For python2.6 we have a few other dependencies. - # First we need an ordered dictionary so we use the @@ -19,10 +21,6 @@ - # JSON objects. The 2.7 json module has this. For 2.6 - # we need simplejson. - requires.append('simplejson==3.3.0') -+#requires = ['jmespath==0.6.1', -+# 'python-dateutil>=2.1,<3.0.0'] -+ -+ +#if sys.version_info[:2] == (2, 6): +# # For python2.6 we have a few other dependencies. +# # First we need an ordered dictionary so we use the @@ -37,7 +35,7 @@ setup( -@@ -42,7 +42,7 @@ setup( +@@ -41,7 +41,7 @@ setup( 'botocore.vendored.requests': ['*.pem']}, package_dir={'botocore': 'botocore'}, include_package_data=True, diff --git a/python-botocore.changes b/python-botocore.changes index fdc3188..ac8ab76 100644 --- a/python-botocore.changes +++ b/python-botocore.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Apr 26 16:49:41 UTC 2015 - benoit.monin@gmx.fr + +- update to version 0.105.0: no upstream changelog +- point source URL to pypi +- increase minimum required version of python-jmespath to 0.6.2 +- remove python as BuildRequires, unneeded +- add fdupes as BuildRequires and call it after install + ------------------------------------------------------------------- Wed Mar 25 19:58:53 UTC 2015 - aboe76@gmail.com diff --git a/python-botocore.spec b/python-botocore.spec index 7835a00..5126046 100644 --- a/python-botocore.spec +++ b/python-botocore.spec @@ -1,7 +1,7 @@ # # spec file for package python-botocore # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,22 +19,22 @@ %define baseName botocore Name: python-botocore -Version: 0.97.0 +Version: 0.105.0 Release: 0 Summary: Python interface for AWS License: Apache-2.0 Group: Development/Languages/Python Url: https://github.com/boto/botocore -Source0: %{baseName}-%{version}.tar.gz +Source0: https://pypi.python.org/packages/source/b/%{baseName}/%{baseName}-%{version}.tar.gz Patch0: hide_py_pckgmgmt.patch Requires: python Requires: python-dateutil >= 2.1 -Requires: python-jmespath >= 0.6.1 +Requires: python-jmespath >= 0.6.2 %if 0%{?suse_version} && 0%{?suse_version} <= 1110 Requires: python-ordereddict >= 1.1 Requires: python-simplejson >= 3.3.0 %endif -BuildRequires: python +BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -58,6 +58,7 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-scripts=%{_bindir} +%fdupes %buildroot/%_prefix %files %defattr(-,root,root,-)