1364ec
%{?python_enable_dependency_generator}
1364ec
1364ec
%if 0%{?rhel} == 7
1364ec
%bcond_with    python3
1364ec
%bcond_without python2
1364ec
%else
1364ec
%bcond_with    python2
1364ec
%bcond_without python3
1364ec
%endif
1364ec
1364ec
%global library google-auth
1364ec
1364ec
%if 0%{?rhel} == 7
1364ec
%global py3 python%{python3_pkgversion}
1364ec
%else
1364ec
%global py3 python3
1364ec
%endif
1364ec
1364ec
Name:       python-%{library}
1364ec
Version:    1.30.0
1364ec
Release:    1%{?dist}
1364ec
Epoch:      1
1364ec
Summary:    Google Auth Python Library
1364ec
License:    ASL 2.0
1364ec
URL:        https://github.com/googleapis/google-auth-library-python
1364ec
1364ec
Source0:    https://github.com/googleapis/google-auth-library-python/archive/v%{version}.tar.gz
1364ec
1364ec
BuildArch:  noarch
1364ec
1364ec
%description
1364ec
Google Auth Python Library
1364ec
1364ec
%if 0%{?with_python2}
1364ec
%package -n python2-%{library}
1364ec
Summary:    Google Auth Python Library
1364ec
%{?python_provide:%python_provide python2-%{library}}
1364ec
1364ec
BuildRequires:  python2-devel
1364ec
BuildRequires:  python2-setuptools
1364ec
BuildRequires:  git
1364ec
1364ec
Requires:  python2-pyasn1
1364ec
Requires:  python2-pyasn1-modules
1364ec
Requires:  python2-rsa
1364ec
Requires:  python2-six
1364ec
Requires:  python-cachetools
1364ec
1364ec
%description -n python2-%{library}
1364ec
Google Auth Python Library
1364ec
%endif
1364ec
1364ec
%if 0%{?with_python3}
1364ec
%package -n %{py3}-%{library}
1364ec
Summary:    Google Auth Python Library
1364ec
%{?python_provide:%python_provide %{py3}-%{library}}
1364ec
1364ec
BuildRequires:  %{py3}-devel
1364ec
BuildRequires:  %{py3}-setuptools
1364ec
BuildRequires:  git
1364ec
%if %{undefined __pythondist_requires}
1364ec
Requires:  %{py3}-pyasn1
1364ec
Requires:  %{py3}-pyasn1-modules
1364ec
Requires:  %{py3}-rsa
1364ec
Requires:  %{py3}-six
1364ec
Requires:  %{py3}-cachetools
1364ec
%endif
1364ec
1364ec
%description -n %{py3}-%{library}
1364ec
Python client for the kubernetes API.
1364ec
1364ec
%endif
1364ec
1364ec
%prep
1364ec
%autosetup -n google-auth-library-python-%{version}
1364ec
1364ec
#Allow newer cachetools
1364ec
sed -i 's/<3\.2/<5.0/g' setup.py
1364ec
1364ec
%build
1364ec
%if %{with python2}
1364ec
%py2_build
1364ec
%endif
1364ec
%if 0%{?with_python3}
1364ec
%py3_build
1364ec
%endif
1364ec
1364ec
%install
1364ec
%if %{with python2}
1364ec
%py2_install
1364ec
%endif
1364ec
%if 0%{?with_python3}
1364ec
%py3_install
1364ec
%endif
1364ec
1364ec
%check
1364ec
1364ec
%if %{with python2}
1364ec
%files -n python2-%{library}
1364ec
%license LICENSE
1364ec
%{python2_sitelib}/google/auth
1364ec
%{python2_sitelib}/google/oauth2
1364ec
%{python2_sitelib}/google_auth-%{version}*.egg-info
1364ec
%{python2_sitelib}/google_auth-%{version}*.pth
1364ec
%endif
1364ec
1364ec
%if 0%{?with_python3}
1364ec
%files -n %{py3}-%{library}
1364ec
%license LICENSE
1364ec
%{python3_sitelib}/google/auth
1364ec
%{python3_sitelib}/google/oauth2
1364ec
%{python3_sitelib}/google_auth-%{version}*.egg-info
1364ec
%{python3_sitelib}/google_auth-%{version}*.pth
1364ec
%endif
1364ec
1364ec
%changelog
1364ec
* Tue Apr 27 2021 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.30.0-1
1364ec
- Update to 1.30.0 (#1953843)
1364ec
1364ec
* Fri Apr 16 2021 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.29.0-1
1364ec
- Update to 1.29.0 (#1950299)
1364ec
1364ec
* Fri Apr 09 2021 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.28.1-1
1364ec
- Update to 1.28.1 (#1933900)
1364ec
1364ec
* Wed Feb 17 2021 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.27.0-1
1364ec
- Update to 1.27.0 (#1927595)
1364ec
1364ec
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.24.0-2
1364ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1364ec
1364ec
* Tue Dec 15 2020 Jason Montleon <jmontleo@redhat.com> - 1:1.24.0-1
1364ec
- Update to 1.24.0
1364ec
1364ec
* Fri Dec 11 2020 Jason Montleon <jmontleo@redhat.com> - 1:1.23.0-1
1364ec
- Update to 1.23.0
1364ec
1364ec
* Thu Sep 24 2020 Jason Montleon <jmontleo@redhat.com> - 1:1.21.3-1
1364ec
- Update to 1.21.3 (#1879308)
1364ec
1364ec
* Fri Sep 04 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.21.1-1
1364ec
- Update to 1.21.1 (#1875665)
1364ec
1364ec
* Fri Aug 28 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.21.0-1
1364ec
- Update to 1.21.0 (#1866978)
1364ec
1364ec
* Wed Jul 29 2020 Jason Montleon <jmontleo@redhat.com> - 1:1.20.0-1
1364ec
- Update to 1.20.0 (#1858426)
1364ec
1364ec
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.19.1-2
1364ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1364ec
1364ec
* Thu Jul 16 2020 Jason Montleon <jmontleo@redhat.com> - 1:1.19.1-1
1364ec
- Update to 1.19.1 (#1856662)
1364ec
1364ec
* Fri Jun 19 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.18.0-1
1364ec
- Update to 1.18.0 (#1846258)
1364ec
1364ec
* Thu Jun 04 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.16.1-1
1364ec
- Update to 1.16.1 (#1841468)
1364ec
1364ec
* Tue May 26 2020 Miro Hron훾ok <mhroncok@redhat.com> - 1:1.14.3-2
1364ec
- Rebuilt for Python 3.9
1364ec
1364ec
* Tue May 12 2020 Jason Montleon <jmontleo@redhat.com> - 1:1.14.3-1
1364ec
- Update to 1.14.3
1364ec
1364ec
* Thu May 07 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.14.2-1
1364ec
- Update to 1.14.2 (#1832794)
1364ec
1364ec
* Wed Apr 22 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.14.1-1
1364ec
- Update to 1.14.1 (#1824032)
1364ec
1364ec
* Thu Apr 02 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.13.1-1
1364ec
- Update to 1.13.1 (#1817303)
1364ec
1364ec
* Mon Mar 16 2020 Jason Montleon <jmontleo@redhat.com> - 1:1.11.3-1
1364ec
- Update to 1.11.3
1364ec
1364ec
* Wed Feb 19 2020 Jason Montleon <jmontleo@redhat.com> - 1:1.11.2-1
1364ec
- Update to 1.11.2
1364ec
1364ec
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.11.0-2
1364ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1364ec
1364ec
* Fri Jan 24 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.11.0-1
1364ec
- Update to 1.11.0 (#1794771)
1364ec
1364ec
* Thu Jan 23 2020 Jason Montleon <jmontleo@redhat.com> - 1:1.10.2-2
1364ec
- Update to 1.10.2 (#1793920)
1364ec
1364ec
* Wed Jan 15 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.10.1-1
1364ec
- Update to 1.10.1 (#1779733)
1364ec
1364ec
* Fri Dec 20 2019 Jason Montleon <jmontleo@redhat.com> - 1:1.10.0-1
1364ec
- Update to 1.10.0
1364ec
1364ec
* Wed Dec 11 2019 Jason Montleon <jmontleo@redhat.com> - 1:1.9.0-2
1364ec
- Allow newer cachetools
1364ec
1364ec
* Wed Dec 11 2019 Jason Montleon <jmontleo@redhat.com> - 1:1.9.0-1
1364ec
- Update to 1.9.0
1364ec
1364ec
* Wed Dec 11 2019 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:1.8.2-1
1364ec
- Update to 1.8.2 (#1779733)
1364ec
1364ec
* Thu Nov 19 2019 Jason Montleon <jmontleo@redhat.com> - 1:1.7.1-1
1364ec
- Rebuilt for Python 3.8.0rc1 (#1748018)
1364ec
1364ec
* Thu Oct 03 2019 Miro Hron훾ok <mhroncok@redhat.com> - 1:1.1.1-10
1364ec
- Rebuilt for Python 3.8.0rc1 (#1748018)
1364ec
1364ec
* Mon Aug 19 2019 Miro Hron훾ok <mhroncok@redhat.com> - 1:1.1.1-9
1364ec
- Rebuilt for Python 3.8
1364ec
1364ec
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-8
1364ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1364ec
1364ec
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-7
1364ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1364ec
1364ec
* Tue Jan 15 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.1.1-6
1364ec
- Enable python dependency generator
1364ec
1364ec
* Mon Jan 14 2019 Jason Montleon <jmontleo@redhat.com> - 1:1.1.1-5
1364ec
- Fix cachetools dependency for python2
1364ec
1364ec
* Thu Dec 13 2018 Jason Montleon <jmontleo@redhat.com> - 1:1.1.1-4
1364ec
- Use python3_pkgversion for EPEL
1364ec
1364ec
* Mon Dec 3 2018 Jason Montleon <jmontleo@redhat.com> - 1:1.1.1-3
1364ec
- Use GitHub instead of PyPI source tarball to build
1364ec
1364ec
* Tue Oct 23 2018 Alfredo Moralejo <amoralej@redhat.com> - 1:1.1.1-2
1364ec
- Removed python2 subpackages in Fedora (rhbz#1636936).
1364ec
1364ec
* Mon Aug 13 2018 Alfredo Moralejo <amoralej@redhat.com> - 1:1.1.1-1
1364ec
- Revert to version 1.1.1. Version 1.3.0 requires pyasn1-modules newer that in Fedora (rhbz#1577286).
1364ec
1364ec
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-5
1364ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1364ec
1364ec
* Tue Jun 19 2018 Miro Hron훾ok <mhroncok@redhat.com> - 1.3.0-4
1364ec
- Rebuilt for Python 3.7
1364ec
1364ec
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.3.0-3
1364ec
- Update Python 2 dependency declarations to new packaging standards
1364ec
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
1364ec
1364ec
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
1364ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1364ec
1364ec
* Wed Jan 24 2018 Alfredo Moralejo <amoralej@redhat.com> 1.3.0-1
1364ec
- Update to 1.3.0
1364ec
1364ec
* Fri Oct 13 2017 Jason Montleon <jmontleo@redhat.com> 1.1.1-1
1364ec
- Initial Build