From 1bf344898a190de709ed1518afb54df54fac482d93a3ce8409a5a89cd9c67d28 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Tue, 18 Oct 2016 17:26:41 +0000 Subject: [PATCH] - Renamed package to python-google-api-python-client + Conform with openSUSE/SUSE naming policy - Upgrade to version 1.5.4 (bsc#1002895) + Properly handle errors when the API returns a mapping or sequence. (#289) + Upgrade to unified uritemplate 3.0.0. (#293) + Allow oauth2client 4.0.0, with the caveat that file-based discovery caching is disabled. - From 1.5.2 + Allow using oauth2client >= 1.5.0, < 4.0.0. (#265) + Fix project_id argument description. (#257) + Retry chunk uploaded on rate limit exceeded errors. (#255) + Obtain access token if necessary in BatchHttpRequest.execute(). (#232) + Warn when running tests using HttpMock without having a cache. (#261) - From 1.5.1 + Allow using versions of oauth2client < 2.0.0. (#197) + Check both current and new API discovery URL. (#202) + Retry http requests on connection errors and timeouts. (#218) + Retry http requests on rate limit responses. (#201) + Import guards for ssl (for Google App Engine). (#220) + Use named loggers instead of the root logger. (#206) + New search console example. (#212) - From 1.5.0 + Fix file stream recognition in Python 3 (#141) + Fix non-resumable binary uploads in Python 3 (#147) + Default to 'octet-stream' if mimetype detection fails (#157) + Handle SSL errors with retries (#160) + Fix incompatibility with oauth2client v2.0.0 (#182) - Upgrade to version 1.4.2 (bsc#954690) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-api-python-client?expand=0&rev=3 --- ...anges => python-google-api-python-client.changes | 6 ++++++ ...ent.spec => python-google-api-python-client.spec | 13 +++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) rename google-api-python-client.changes => python-google-api-python-client.changes (95%) rename google-api-python-client.spec => python-google-api-python-client.spec (84%) diff --git a/google-api-python-client.changes b/python-google-api-python-client.changes similarity index 95% rename from google-api-python-client.changes rename to python-google-api-python-client.changes index d4d779c..c6f6d62 100644 --- a/google-api-python-client.changes +++ b/python-google-api-python-client.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 18 17:25:19 UTC 2016 - rjschwei@suse.com + +- Renamed package to python-google-api-python-client + + Conform with openSUSE/SUSE naming policy + ------------------------------------------------------------------- Tue Oct 18 17:10:56 UTC 2016 - rjschwei@suse.com diff --git a/google-api-python-client.spec b/python-google-api-python-client.spec similarity index 84% rename from google-api-python-client.spec rename to python-google-api-python-client.spec index 6e50087..de6e848 100644 --- a/google-api-python-client.spec +++ b/python-google-api-python-client.spec @@ -1,5 +1,5 @@ # -# spec file for package google-api-python-client +# spec file for package python-google-api-python-client # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # @@ -16,14 +16,14 @@ # -Name: google-api-python-client +Name: python-google-api-python-client Version: 1.5.4 Release: 0 Summary: Google APIs Python Client License: Apache-2.0 Group: Development/Languages/Python Url: https://github.com/google/google-api-python-client -Source0: %{name}-%{version}.tar.gz +Source0: google-api-python-client-%{version}.tar.gz Patch0: hidePythonDeps.patch Requires: python Requires: python-httplib2 >= 0.8 @@ -44,6 +44,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %endif +# Package renamed in SLE 12, do not remove Provides, Obsolete directives +# until after SLE 12 EOL +Provides: google-api-python-client = %{version} +Obsoletes: google-api-python-client < %{version} + %description Google APIs Client Library for Python @@ -57,7 +62,7 @@ Requires: python-nose Package provides the unit tests for google-api-python-client %prep -%setup -q +%setup -q -n google-api-python-client-%{version} %patch0 %build