Upgrade to 2.50.0

This commit is contained in:
jxy_git 2022-06-27 10:32:25 +08:00
parent 0bd4f3cce3
commit f56ae4fc10
5 changed files with 43 additions and 6 deletions

View File

@ -0,0 +1,25 @@
From b19673c50201bf4a9fa0f3a4ca4dc642ee26e238 Mon Sep 17 00:00:00 2001
From: root <root@localhost.localdomain>
Date: Mon, 27 Jun 2022 10:21:05 +0800
Subject: [PATCH] Remove version restrictions
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index d03f117..6933829 100644
--- a/setup.py
+++ b/setup.py
@@ -42,7 +42,7 @@ install_requires = [
# NOTE: Maintainers, please do not require google-api-core>=2.x.x
# Until this issue is closed
# https://github.com/googleapis/google-cloud-python/issues/10566
- "google-api-core >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0",
+ "google-api-core >= 1.31.5, <3.0.0dev",
"uritemplate>=3.0.1,<5",
]
--
2.33.0

Binary file not shown.

View File

@ -5,14 +5,15 @@
Name: google-api-python-client
Summary: %{sum}
Epoch: 1
Version: 1.6.7
Release: 11
Epoch: 2
Version: 2.50.0
Release: 1
License: ASL 2.0
URL: http://github.com/google/%{name}/
Source0: https://files.pythonhosted.org/packages/e0/91/0e6a42ea3e0898a75d819a9690c8c8d0eecd31275d8a85503c8fc33949f2/%{name}-%{version}.tar.gz
URL: https://github.com/googleapis/google-api-python-client
Source0: https://github.com/googleapis/google-api-python-client/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
Patch0: 0001-Remove-version-restrictions.patch
%description
Written by Google, this library provides a small, flexible, and powerful
@ -28,6 +29,9 @@ BuildRequires: python3-httplib2 >= 0.9.2
BuildRequires: python3-oauth2client >= 2.0.0
BuildRequires: python3-uritemplate >= 3.0.0
BuildRequires: python3-six >= 1.6.1
BuildRequires: python3dist(google-api-core)
BuildRequires: python3dist(google-auth)
BuildRequires: python3dist(google-auth-httplib2)
Requires: python3-httplib2 >= 0.9.2
Requires: python3-oauth2client >= 2.0.0
@ -40,6 +44,7 @@ Python 3 client library for accessing Google APIs.
%prep
%setup -q
%patch0 -p1
# remove egg info
rm -rf google_api_python_client.egg-info
@ -59,11 +64,14 @@ done
%files -n python3-%{srcname}
%license LICENSE
%doc CHANGELOG
%doc CHANGELOG.md
%{python3_sitelib}/apiclient/
%{python3_sitelib}/googleapiclient/
%{python3_sitelib}/google_api_python_client-%{version}-py%{python3_version}.egg-info/
%changelog
* Mon Jun 27 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 2:2.50.0-1
- Upgrade to 2.50.0
* Fri Oct 30 2020 jiangxinyu <jiangxinyu@kylinos.cn> - 1:1.6.7-11
- Init google-api-python-client project

View File

@ -0,0 +1,4 @@
version_control: github
src_repo: googleapis/google-api-python-client
tag_prefix: ""
separator: "."