Blame SPECS/google-auth-httplib2.spec

9c0e33
%global sum An httplib2 transport for google-auth
9c0e33
%global srcname google-auth-httplib2
9c0e33
9c0e33
Name:           google-auth-httplib2
9c0e33
Summary:        %{sum}
9c0e33
Version:        0.0.3
9c0e33
Release:        3%{?dist}
9c0e33
9c0e33
License:        ASL 2.0
9c0e33
URL:            https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2
9c0e33
Source0:        https://files.pythonhosted.org/packages/e7/32/ac7f30b742276b4911a1439c5291abab1b797ccfd30bc923c5ad67892b13/google-auth-httplib2-0.0.3.tar.gz
9c0e33
BuildArch:      noarch
9c0e33
9c0e33
%description 
9c0e33
httplib has lots of problems such as lack of threadsafety and insecure usage
9c0e33
of TLS. Using it is highly discouraged. This library is intended to help
9c0e33
existing users of oauth2client migrate to google-auth.
9c0e33
9c0e33
%package -n python3-%{srcname}
9c0e33
Summary:        %{sum}
9c0e33
%{?python_provide:%python_provide python3-%{srcname}}
9c0e33
9c0e33
BuildRequires:  python3-devel
9c0e33
BuildRequires:  python3-setuptools
9c0e33
BuildRequires:  python3-httplib2
9c0e33
Requires:       python3-httplib2
9c0e33
9c0e33
%description -n python3-%{srcname}
9c0e33
Written by Google, this library provides a small, flexible, and powerful 
9c0e33
Python 3 client library for accessing Google APIs.
9c0e33
9c0e33
%prep
9c0e33
%setup -q
9c0e33
9c0e33
%build
9c0e33
%{py3_build}
9c0e33
9c0e33
%install
9c0e33
%{py3_install}
9c0e33
9c0e33
%files -n python3-%{srcname}
9c0e33
%license LICENSE 
9c0e33
%doc README.rst
9c0e33
%{python3_sitelib}/google_auth_httplib2.py
9c0e33
%{python3_sitelib}/google_auth_httplib2-%{version}-py%{python3_version}.egg-info/
9c0e33
%{python3_sitelib}/__pycache__/google_auth_httplib2.cpython-*
9c0e33
9c0e33
%changelog
9c0e33
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.3-3
9c0e33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
9c0e33
9c0e33
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.3-2
9c0e33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9c0e33
9c0e33
* Mon May 04 2020 Gwyn Ciesla <gwync@protonmail.com> - 0.0.3-1
9c0e33
- Initial build