From f9467a2c7f8ee6014e87e04f5a63d5fcf4ce0d8f Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Sep 09 2021 00:50:09 +0000 Subject: Import google-api-python-client-1.6.7-14.el9 in CloudSIG xena --- diff --git a/.google-api-python-client.metadata b/.google-api-python-client.metadata index 9ddcf27..946e71e 100644 --- a/.google-api-python-client.metadata +++ b/.google-api-python-client.metadata @@ -1 +1 @@ -071badc712a3df652ccc4e259e3325b87e4efc26 SOURCES/google-api-python-client-1.6.5.tar.gz +49ed6c851521c374f6503d1c83630e3bab3058ec SOURCES/google-api-python-client-1.6.7.tar.gz diff --git a/SPECS/google-api-python-client.spec b/SPECS/google-api-python-client.spec index 4280a73..2878690 100644 --- a/SPECS/google-api-python-client.spec +++ b/SPECS/google-api-python-client.spec @@ -1,59 +1,24 @@ - # Share doc between python- and python3- %global _docdir_fmt %{name} %global sum Google APIs Client Library for Python %global srcname google-api-client -%if 0%{?fedora} || 0%{?rhel} > 7 -%global with_python3 1 -%endif - -%if 0%{?rhel} > 7 -%global with_python2 0 -%else -%global with_python2 1 -%endif - Name: google-api-python-client Summary: %{sum} -Version: 1.6.5 -Release: 3%{?dist} +Epoch: 2 +Version: 1.6.7 +Release: 14%{?dist} License: ASL 2.0 -URL: http://github.com/google/%{name}/ -Source0: https://pypi.python.org/packages/07/36/1304550b8a91e4f23258ae5880f56305528ce081cb00668107f02f153817/%{name}-%{version}.tar.gz +URL: http://github.com/googleapis/%{name}/ +Source0: https://github.com/googleapis/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz + BuildArch: noarch %description Written by Google, this library provides a small, flexible, and powerful Python client library for accessing Google APIs. -%if 0%{?with_python2} -%package -n python2-%{srcname} -Summary: %{sum} -%{?python_provide:%python_provide python2-%{srcname}} - -BuildRequires: python2-devel >= 2.7 -BuildRequires: python2-setuptools -BuildRequires: python2-oauth2client >= 2.0.0 -BuildRequires: python2-uritemplate >= 3.0.0 - -BuildRequires: python2-httplib2 >= 0.9.2 -BuildRequires: python2-six >= 1.6.1 - -Requires: python2-oauth2client >= 2.0.0 -Requires: python2-uritemplate >= 3.0.0 - -Requires: python2-six >= 1.6.1 -Requires: python2-httplib2 >= 0.9.2 - -%description -n python2-%{srcname} -Written by Google, this library provides a small, flexible, and powerful -Python client library for accessing Google APIs. -%endif - - -%if 0%{?with_python3} %package -n python3-%{srcname} Summary: %{sum} %{?python_provide:%python_provide python3-%{srcname}} @@ -69,14 +34,18 @@ Requires: python3-httplib2 >= 0.9.2 Requires: python3-oauth2client >= 2.0.0 Requires: python3-uritemplate >= 3.0.0 Requires: python3-six >= 1.6.1 +Requires: python3-google-api-core +Requires: python3-google-auth-httplib2 >= 0.0.3 %description -n python3-%{srcname} Written by Google, this library provides a small, flexible, and powerful Python 3 client library for accessing Google APIs. -%endif %prep -%setup -q +%autosetup + +# remove unusable google-api-client requires +sed -i /google-api-core/d setup.py # remove egg info rm -rf google_api_python_client.egg-info @@ -89,40 +58,85 @@ for lib in googleapiclient/*.py; do done %build -%if 0%{?with_python2} -%{py2_build} -%endif -%if 0%{?with_python3} %{py3_build} -%endif %install -%if 0%{?with_python2} -%{py2_install} -%endif -%if 0%{?with_python3} %{py3_install} -%endif - -%if 0%{?with_python2} -%files -n python2-%{srcname} -%license LICENSE -%doc CHANGELOG -%{python2_sitelib}/apiclient -%{python2_sitelib}/googleapiclient -%{python2_sitelib}/google_api_python_client-%{version}-py?.?.egg-info -%endif %files -n python3-%{srcname} %license LICENSE -%doc CHANGELOG -%{python3_sitelib}/apiclient -%{python3_sitelib}/googleapiclient -%{python3_sitelib}/google_api_python_client-%{version}-py?.?.egg-info +%doc README.md +%{python3_sitelib}/apiclient/ +%{python3_sitelib}/googleapiclient/ +%{python3_sitelib}/google_api_python_client-%{version}-py%{python3_version}.egg-info/ %changelog -* Tue Jun 05 2018 Troy Dawson - 1.6.5-3 -- Do not do python2 in RHEL8 +* Tue Jan 26 2021 Fedora Release Engineering - 2:1.6.7-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Sep 16 2020 Gwyn Ciesla - 2:1.6.7-13 +- Revert to 1.6.7 + +* Tue Sep 15 2020 Gwyn Ciesla - 1:1.12.1-1 +- 1.12.1 + +* Fri Aug 28 2020 Gwyn Ciesla - 1:1.11.0-1 +- 1.11.0 + +* Wed Aug 26 2020 Gwyn Ciesla - 1:1.10.1-1 +- 1.10.1 + +* Tue Jul 28 2020 Fedora Release Engineering - 1:1.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jul 16 2020 Gwyn Ciesla - 1:1.10.0-1 +- 1.10.0 + +* Tue Jun 30 2020 Gwyn Ciesla - 1:1.9.3-2 +- Requires fix. + +* Thu Jun 11 2020 Gwyn Ciesla - 1:1.9.3-1 +- Update to 1.9.3 + +* Tue May 26 2020 Miro Hrončok - 1:1.6.7-12 +- Rebuilt for Python 3.9 + +* Wed Jan 29 2020 Fedora Release Engineering - 1:1.6.7-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 1:1.6.7-10 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 1:1.6.7-9 +- Rebuilt for Python 3.8 + +* Wed Jul 31 2019 Miro Hrončok - 1:1.6.7-8 +- Subpackage python2-google-api-client has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Thu Jul 25 2019 Fedora Release Engineering - 1:1.6.7-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1:1.6.7-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jan 28 2019 Michele Baldessari - 1.6.7-5 +- Add an epoch and downgrade to 1.6.7 while we get python-google-auth-httplib2 + +* Mon Jan 21 2019 Michele Baldessari - 1.7.7-1 +- New upstream + +* Fri Jul 20 2018 Alfredo Moralejo - 1.6.7-4 +- Fix build when disabling python3. + +* Fri Jul 13 2018 Fedora Release Engineering - 1.6.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 1.6.7-2 +- Rebuilt for Python 3.7 + +* Sat May 05 2018 Michele Baldessari - 1.6.7-1 +- New upstream * Wed Feb 07 2018 Fedora Release Engineering - 1.6.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild