Dominique Leuenberger 2023-09-20 11:27:03 +00:00 committed by Git OBS Bridge
commit e2eec4246c
5 changed files with 24 additions and 17 deletions

View File

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

View File

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

View File

@ -1,12 +1,13 @@
diff -upr google-auth-httplib2-0.1.0.orig/tests/test_google_auth_httplib2.py google-auth-httplib2-0.1.0/tests/test_google_auth_httplib2.py
--- google-auth-httplib2-0.1.0.orig/tests/test_google_auth_httplib2.py 2022-06-08 13:33:16.841483803 +0200
+++ google-auth-httplib2-0.1.0/tests/test_google_auth_httplib2.py 2022-06-08 13:33:16.845483827 +0200
@@ -13,7 +13,7 @@
# limitations under the License.
Index: google-auth-httplib2-0.1.1/tests/test_google_auth_httplib2.py
===================================================================
--- google-auth-httplib2-0.1.1.orig/tests/test_google_auth_httplib2.py
+++ google-auth-httplib2-0.1.1/tests/test_google_auth_httplib2.py
@@ -16,7 +16,7 @@ import http.client
import io
import httplib2
-import mock
+from unittest import mock
import six
from six.moves import http_client
import google_auth_httplib2
from tests import compliance

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Sep 18 14:42:19 UTC 2023 - pgajdos@suse.com
- version update to 0.1.1
* remove six, update python versions
- modified patches
% python-google-auth-httplib2-no-mock.patch (refreshed)
-------------------------------------------------------------------
Sun Jul 2 12:51:06 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-google-auth-httplib2
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-google-auth-httplib2
Version: 0.1.0
Version: 0.1.1
Release: 0
Summary: Google Authentication Library: httplib2 transport
License: Apache-2.0
@ -33,12 +33,10 @@ BuildRequires: %{python_module httplib2 >= 0.15.0}
BuildRequires: %{python_module pytest-localserver}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-auth
Requires: python-httplib2 >= 0.15.0
Requires: python-six
BuildArch: noarch
%python_subpackages
@ -46,8 +44,7 @@ BuildArch: noarch
This library provides an `httplib2`_ transport for `google-auth`_.
%prep
%setup -q -n google-auth-httplib2-%{version}
%patch0 -p1
%autosetup -p1 -n google-auth-httplib2-%{version}
%build
%python_build
@ -62,6 +59,7 @@ This library provides an `httplib2`_ transport for `google-auth`_.
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/__pycache__
%{python_sitelib}/google_auth_httplib2*
%changelog