diff --git a/.google-api-python-client.metadata b/.google-api-python-client.metadata index 9ddcf27..fa96e65 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 +e5d7e4fe73c5c618b02a8795a1f78e9380d9ac61 SOURCES/google-api-python-client-2.58.0.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/google-api-python-client.spec b/SPECS/google-api-python-client.spec index 4280a73..1f8d016 100644 --- a/SPECS/google-api-python-client.spec +++ b/SPECS/google-api-python-client.spec @@ -1,128 +1,215 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.2.6) +%define autorelease(e:s:pb:) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} +## END: Set by rpmautospec -# 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: 2.58.0 +Release: %autorelease License: ASL 2.0 -URL: http://github.com/google/%{name}/ -Source0: https://pypi.python.org/packages/07/36/1304550b8a91e4f23258ae5880f56305528ce081cb00668107f02f153817/%{name}-%{version}.tar.gz +URL: https://github.com/googleapis/google-api-python-client +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz + BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros + %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} +%package -n python3-%{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 +%description -n python3-%{srcname} +Written by Google, this library provides a small, flexible, and powerful +Python 3 client library for accessing Google APIs. -BuildRequires: python2-httplib2 >= 0.9.2 -BuildRequires: python2-six >= 1.6.1 +%prep +%autosetup -Requires: python2-oauth2client >= 2.0.0 -Requires: python2-uritemplate >= 3.0.0 +%generate_buildrequires +%pyproject_buildrequires -Requires: python2-six >= 1.6.1 -Requires: python2-httplib2 >= 0.9.2 +%build +%pyproject_wheel -%description -n python2-%{srcname} -Written by Google, this library provides a small, flexible, and powerful -Python client library for accessing Google APIs. -%endif +%install +%pyproject_install +%pyproject_save_files googleapiclient apiclient +%files -n python3-%{srcname} -f %{pyproject_files} +%license LICENSE +%doc README.md -%if 0%{?with_python3} -%package -n python3-%{srcname} -Summary: %{sum} -%{?python_provide:%python_provide python3-%{srcname}} +%changelog +* Wed Aug 24 2022 Mikel Olasagasti Uranga 2:2.58.0-1 +- Update to 2.58.0 - Closes rhbz#2120893 -BuildRequires: python3-devel >= 3.3 -BuildRequires: python3-setuptools -BuildRequires: python3-httplib2 >= 0.9.2 -BuildRequires: python3-oauth2client >= 2.0.0 -BuildRequires: python3-uritemplate >= 3.0.0 -BuildRequires: python3-six >= 1.6.1 +* Thu Aug 11 2022 Mikel Olasagasti Uranga 2:2.56.0-1 +- Update to 2.56.0 - Closes rhbz#2117336 -Requires: python3-httplib2 >= 0.9.2 -Requires: python3-oauth2client >= 2.0.0 -Requires: python3-uritemplate >= 3.0.0 -Requires: python3-six >= 1.6.1 +* Tue Jul 26 2022 Mikel Olasagasti Uranga 2:2.55.0-1 +- Update to 2.55.0 - Closes rhbz#2102236 -%description -n python3-%{srcname} -Written by Google, this library provides a small, flexible, and powerful -Python 3 client library for accessing Google APIs. -%endif +* Thu Jul 21 2022 Fedora Release Engineering 2:2.51.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild -%prep -%setup -q +* Thu Jun 16 2022 Python Maint 2:2.51.0-2 +- Rebuilt for Python 3.11 -# remove egg info -rm -rf google_api_python_client.egg-info +* Wed Jun 15 2022 Mikel Olasagasti Uranga 2:2.51.0-1 +- Update to 2.51.0 - Closes rhbz#2097445 -# remove shebang without touching timestamp -for lib in googleapiclient/*.py; do - sed '1{\@^#!/usr/bin/python@d}' $lib > $lib.new && - touch -r $lib $lib.new && - mv $lib.new $lib -done +* Tue Jun 07 2022 Mikel Olasagasti Uranga 2:2.50.0-1 +- Update to 2.50.0 - Closes rhbz#2094498 -%build -%if 0%{?with_python2} -%{py2_build} -%endif -%if 0%{?with_python3} -%{py3_build} -%endif +* Thu May 26 2022 Mikel Olasagasti Uranga 2:2.49.0-1 +- Update to 2.49.0 - Closes rhbz#2090697 -%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 +* Wed May 18 2022 Mikel Olasagasti Uranga 2:2.48.0-1 +- Update to 2.48.0 - Closes rhbz#2087691 -%changelog -* Tue Jun 05 2018 Troy Dawson - 1.6.5-3 -- Do not do python2 in RHEL8 +* Wed May 04 2022 Mikel Olasagasti Uranga 2:2.47.0-1 +- Update to 2.47.0 - Closes rhbz#2079128 + +* Tue Apr 19 2022 Mikel Olasagasti Uranga 2:2.45.0-1 +- Update to 2.45.0 - Closes rhbz#2076797 + +* Wed Apr 13 2022 Mikel Olasagasti Uranga 2:2.44.0-1 +- Update to 2.44.0 - Closes rhbz#2075142 + +* Wed Apr 06 2022 Mikel Olasagasti Uranga 2:2.43.0-1 +- Update to 2.43.0 - Closes rhbz#2066982 + +* Wed Mar 16 2022 Mikel Olasagasti Uranga 2:2.41.0-1 +- Update to 2.41.0 - Closes rhbz#2064497 + +* Fri Mar 11 2022 Mikel Olasagasti Uranga 2:2.40.0-1 +- Update to 2.40.0 - Closes rhbz#2063202 + +* Wed Mar 02 2022 Mikel Olasagasti Uranga 2:2.39.0-1 +- Update to 2.39.0 - Closes rhbz#2059798 + +* Thu Feb 24 2022 Mikel Olasagasti Uranga 2:2.38.0-1 +- Update to 2.38.0 - Closes rhbz#2057892 + +* Wed Feb 09 2022 Mikel Olasagasti Uranga 2:2.37.0-1 +- Update to 2.37.0 + +* Thu Jan 20 2022 Fedora Release Engineering 2:2.36.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jan 19 2022 Mikel Olasagasti Uranga 2:2.36.0-1 +- Update to 2.36.0 - Closes rhbz#2042177 + +* Fri Jan 14 2022 Mikel Olasagasti Uranga 2:2.35.0-1 +- Update to 2.35.0 - Closes rhbz#2040568 + +* Thu Jan 06 2022 Mikel Olasagasti Uranga 2:2.34.0-1 +- Update to 2.34.0 - Closes rhbz#2037573 + +* Wed Dec 08 2021 Mikel Olasagasti Uranga 2:2.33.0-1 +- Update to 2.33.0 - Fixes rhbz#2030093 + +* Fri Dec 03 2021 Mikel Olasagasti Uranga 2:2.32.0-1 +- Update to 2.32.0 BZ#2028797 + +* Wed Nov 10 2021 Gwyn Ciesla - 2:2.30.0-1 +- 2.30.0 + +* Wed Nov 03 2021 Gwyn Ciesla - 2:2.29.0-1 +- 2.29.0 + +* Wed Oct 27 2021 Mikel Olasagasti Uranga - 2:2.28.0-1 +- Version bump to 2.28 + +* Mon Oct 25 2021 Mikel Olasagasti Uranga - 2:2.27.0-1 +- Version bump and switch to pyproject-rpm-macros + +* Thu Jul 22 2021 Fedora Release Engineering - 2:1.6.7-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 2:1.6.7-15 +- Rebuilt for Python 3.10 + +* 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 @@ -199,3 +286,4 @@ New upstream * Sat Jul 27 2013 Ankur Sinha 1.1-1 - Initial rpm package +