|
|
c629c4d |
%global pypi_name google-auth-oauthlib
|
|
|
c629c4d |
|
|
|
c629c4d |
Name: python-%{pypi_name}
|
|
|
c629c4d |
Version: 0.4.1
|
|
|
7653ad1 |
Release: 5%{?dist}
|
|
|
c629c4d |
Summary: Google oAuth Authentication Library
|
|
|
c629c4d |
|
|
|
c629c4d |
License: ASL 2.0
|
|
|
c629c4d |
URL: https://github.com/GoogleCloudPlatform/google-auth-library-python-oauthlib
|
|
|
c629c4d |
Source0: %{pypi_source}
|
|
|
c629c4d |
BuildArch: noarch
|
|
|
c629c4d |
|
|
|
c629c4d |
BuildRequires: python3-devel
|
|
|
c629c4d |
BuildRequires: python3-click
|
|
|
c629c4d |
BuildRequires: python3-google-auth
|
|
|
c629c4d |
BuildRequires: python3-requests-oauthlib
|
|
|
c629c4d |
BuildRequires: python3-setuptools
|
|
|
c629c4d |
BuildRequires: python3-pytest
|
|
|
c629c4d |
BuildRequires: python3-mock
|
|
|
c629c4d |
|
|
|
c629c4d |
%description
|
|
|
c629c4d |
This library provides oauthlib integration with google-auth.
|
|
|
c629c4d |
|
|
|
c629c4d |
%package -n python3-%{pypi_name}
|
|
|
c629c4d |
Summary: %{summary}
|
|
|
c629c4d |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
c629c4d |
|
|
|
c629c4d |
%description -n python3-%{pypi_name}
|
|
|
c629c4d |
This library provides oauthlib integration with google-auth.
|
|
|
c629c4d |
|
|
|
c629c4d |
%prep
|
|
|
c629c4d |
%autosetup -n %{pypi_name}-%{version}
|
|
|
c629c4d |
rm -rf %{pypi_name}.egg-info
|
|
|
c629c4d |
|
|
|
c629c4d |
%build
|
|
|
c629c4d |
%py3_build
|
|
|
c629c4d |
|
|
|
c629c4d |
%install
|
|
|
c629c4d |
%py3_install
|
|
|
c629c4d |
|
|
|
c629c4d |
%check
|
|
|
c629c4d |
pYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests
|
|
|
c629c4d |
|
|
|
c629c4d |
%files -n python3-%{pypi_name}
|
|
|
c629c4d |
%license LICENSE
|
|
|
c629c4d |
%doc README.rst
|
|
|
c629c4d |
%{_bindir}/google-oauthlib-tool
|
|
|
c629c4d |
%{python3_sitelib}/google_auth_oauthlib/
|
|
|
c629c4d |
%{python3_sitelib}/google_auth_oauthlib-%{version}-py%{python3_version}.egg-info
|
|
|
c629c4d |
|
|
|
c629c4d |
%changelog
|
|
|
7653ad1 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-5
|
|
|
7653ad1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
7653ad1 |
|
|
|
8d2a734 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.4.1-4
|
|
|
8d2a734 |
- Rebuilt for Python 3.10
|
|
|
8d2a734 |
|
|
|
7dcd24b |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-3
|
|
|
7dcd24b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
7dcd24b |
|
|
|
3039a2a |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-2
|
|
|
3039a2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
3039a2a |
|
|
|
c629c4d |
* Sun May 17 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.1-1
|
|
|
c629c4d |
- Initial package for Fedora
|