diff --git a/0001-fix-depend.patch b/0001-fix-depend.patch new file mode 100644 index 0000000000000000000000000000000000000000..0ca0a418268d9ec02fc628e9dae0f477a3261bcd --- /dev/null +++ b/0001-fix-depend.patch @@ -0,0 +1,38 @@ +diff --git a/google_api_python_client.egg-info/requires.txt b/google_api_python_client.egg-info/requires.txt +index 3439999..08292e5 100644 +--- a/google_api_python_client.egg-info/requires.txt ++++ b/google_api_python_client.egg-info/requires.txt +@@ -1,6 +1,6 @@ +-httplib2<1dev,>=0.15.0 +-google-auth<2dev,>=1.16.0 ++httplib2<0.22,>=0.15.0 ++google-auth<2.17.3,>=1.16.0 + google-auth-httplib2>=0.0.3 +-google-api-core<2dev,>=1.21.0 +-six<2dev,>=1.13.0 +-uritemplate<4dev,>=3.0.0 ++google-api-core<2.11,>=1.21.0 ++six<1.16.0,>=1.13.0 ++uritemplate<4.1.1,>=3.0.0 +diff --git a/setup.py b/setup.py +index b95495b..0e3674a 100644 +--- a/setup.py ++++ b/setup.py +@@ -32,12 +32,12 @@ from setuptools import setup + packages = ["apiclient", "googleapiclient", "googleapiclient/discovery_cache"] + + install_requires = [ +- "httplib2>=0.15.0,<1dev", +- "google-auth>=1.16.0,<2dev", ++ "httplib2>=0.15.0,<0.22", ++ "google-auth>=1.16.0,<2.17.3", + "google-auth-httplib2>=0.0.3", +- "google-api-core>=1.21.0,<2dev", +- "six>=1.13.0,<2dev", +- "uritemplate>=3.0.0,<4dev", ++ "google-api-core>=1.21.0,<2.11", ++ "six>=1.13.0,<1.16.0", ++ "uritemplate>=3.0.0,<4.1.1", + ] + + package_root = os.path.abspath(os.path.dirname(__file__)) diff --git a/google-api-python-client-1.6.7.tar.gz b/google-api-python-client-1.6.7.tar.gz deleted file mode 100644 index 1b47e2f75c981e11b7f08d21ebb6c5d32a70f413..0000000000000000000000000000000000000000 Binary files a/google-api-python-client-1.6.7.tar.gz and /dev/null differ diff --git a/google-api-python-client-2.0.2.tar.gz b/google-api-python-client-2.0.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..06df0290cba579203a1b8390593c823016837848 Binary files /dev/null and b/google-api-python-client-2.0.2.tar.gz differ diff --git a/google-api-python-client.spec b/google-api-python-client.spec index 218140e51a174ace96d4cad0054cd81351933b2a..da92571914f241323388b9c36f675578531b2e25 100644 --- a/google-api-python-client.spec +++ b/google-api-python-client.spec @@ -6,12 +6,13 @@ Name: google-api-python-client Summary: %{sum} Epoch: 1 -Version: 1.6.7 -Release: 11 +Version: 2.0.2 +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 +Source0: https://files.pythonhosted.org/packages/7e/d8/bee650a7fbf01ad0e1ba8cad9de29f5d4bf0cb334b169cc3861ce428c9b9/google-api-python-client-2.0.2.tar.gz +Patch01: 0001-fix-depend.patch BuildArch: noarch %description @@ -40,6 +41,7 @@ Python 3 client library for accessing Google APIs. %prep %setup -q +%autopatch -p1 # remove egg info rm -rf google_api_python_client.egg-info @@ -59,11 +61,13 @@ done %files -n python3-%{srcname} %license LICENSE -%doc CHANGELOG %{python3_sitelib}/apiclient/ %{python3_sitelib}/googleapiclient/ %{python3_sitelib}/google_api_python_client-%{version}-py%{python3_version}.egg-info/ %changelog +* Thu May 04 2023 liksh - 1:2.0.2-1 +- Upgrade for openstack wallaby new service + * Fri Oct 30 2020 jiangxinyu - 1:1.6.7-11 - Init google-api-python-client project