Compare commits
No commits in common. "c8s" and "c9s" have entirely different histories.
14
.gitignore
vendored
14
.gitignore
vendored
@ -1,2 +1,14 @@
|
||||
SOURCES/google-api-python-client-1.6.5.tar.gz
|
||||
/google-api-python-client-1.4.2.tar.gz
|
||||
/google-api-python-client-1.5.1.tar.gz
|
||||
/google-api-python-client-1.5.5.tar.gz
|
||||
/google-api-python-client-1.6.2.tar.gz
|
||||
/google-api-python-client-1.6.3.tar.gz
|
||||
/google-api-python-client-1.6.4.tar.gz
|
||||
/google-api-python-client-1.6.5.tar.gz
|
||||
/google-api-python-client-1.6.7.tar.gz
|
||||
/google-api-python-client-1.7.7.tar.gz
|
||||
/google-api-python-client-1.9.3.tar.gz
|
||||
/google-api-python-client-1.10.0.tar.gz
|
||||
/google-api-python-client-1.10.1.tar.gz
|
||||
/google-api-python-client-1.11.0.tar.gz
|
||||
/google-api-python-client-1.12.1.tar.gz
|
||||
|
1
.google-api-python-client.metadata
Normal file
1
.google-api-python-client.metadata
Normal file
@ -0,0 +1 @@
|
||||
49ed6c851521c374f6503d1c83630e3bab3058ec google-api-python-client-1.6.7.tar.gz
|
@ -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: 15%{?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,88 @@ 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 <tdawson@redhat.com> - 1.6.5-3
|
||||
- Do not do python2 in RHEL8
|
||||
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 2:1.6.7-15
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.6.7-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Sep 16 2020 Gwyn Ciesla <gwync@protonmail.com> - 2:1.6.7-13
|
||||
- Revert to 1.6.7
|
||||
|
||||
* Tue Sep 15 2020 Gwyn Ciesla <gwync@protonmail.com> - 1:1.12.1-1
|
||||
- 1.12.1
|
||||
|
||||
* Fri Aug 28 2020 Gwyn Ciesla <gwync@protonmail.com> - 1:1.11.0-1
|
||||
- 1.11.0
|
||||
|
||||
* Wed Aug 26 2020 Gwyn Ciesla <gwync@protonmail.com> - 1:1.10.1-1
|
||||
- 1.10.1
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.10.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Thu Jul 16 2020 Gwyn Ciesla <gwync@protonmail.com> - 1:1.10.0-1
|
||||
- 1.10.0
|
||||
|
||||
* Tue Jun 30 2020 Gwyn Ciesla <gwync@protonmail.com> - 1:1.9.3-2
|
||||
- Requires fix.
|
||||
|
||||
* Thu Jun 11 2020 Gwyn Ciesla <gwync@protonmail.com> - 1:1.9.3-1
|
||||
- Update to 1.9.3
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1:1.6.7-12
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.7-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.6.7-10
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.6.7-9
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Wed Jul 31 2019 Miro Hrončok <mhroncok@redhat.com> - 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 <releng@fedoraproject.org> - 1:1.6.7-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.7-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Mon Jan 28 2019 Michele Baldessari <michele@acksyn.org> - 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 <michele@acksyn.org> - 1.7.7-1
|
||||
- New upstream
|
||||
|
||||
* Fri Jul 20 2018 Alfredo Moralejo <amoralej@redhat.com> - 1.6.7-4
|
||||
- Fix build when disabling python3.
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.7-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.6.7-2
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Sat May 05 2018 Michele Baldessari <michele@acksyn.org> - 1.6.7-1
|
||||
- New upstream
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (google-api-python-client-1.6.5.tar.gz) = ecf4e38ed92e25086fd1eec0e9dd35d77bd93a41519555e98887ae869179516d8062546f51b966a6b40e66a45ed86239a7c214bc7ec8286de7c7822a47544c68
|
||||
SHA512 (google-api-python-client-1.6.7.tar.gz) = c5495de5b13559f63eca78fa8cb18e8f67b108c3d5e09a393bea0657d3203e73b9cfbd43d9e2e519650e7aa5067ee3856f268136d1a91f44aa137d4c4f411ec4
|
||||
|
Loading…
Reference in New Issue
Block a user