## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-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*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global pypi_name google-auth-oauthlib Name: python-%{pypi_name} Version: 0.8.0 Release: %autorelease Summary: Google oAuth Authentication Library License: ASL 2.0 URL: https://github.com/GoogleCloudPlatform/google-auth-library-python-oauthlib Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros BuildRequires: python3dist(click) BuildRequires: python3dist(mock) BuildRequires: python3dist(pytest) %description This library provides oauthlib integration with google-auth. %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} This library provides oauthlib integration with google-auth. %prep %autosetup -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files google_auth_oauthlib %check %pytest %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.rst %{_bindir}/google-oauthlib-tool %changelog * Fri Jan 20 2023 Mikel Olasagasti Uranga - 0.8.0-1 - Update to 0.8.0 - Closes rhbz#2137684 * Thu Sep 15 2022 Fabian Affolter - 0.5.3-1 - Update to latest upstream release 0.5.3 (closes rhbz#2095595) * Fri Jul 22 2022 Fedora Release Engineering - 0.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 15 2022 Python Maint - 0.5.1-2 - Rebuilt for Python 3.11 * Fri Mar 18 2022 Fabian Affolter - 0.5.1-1 - Update to latest upstream release 0.5.1 (closes rhbz#2064495) * Thu Mar 03 2022 Fabian Affolter - 0.5.0-1 - Update to latest upstream release 0.5.0 (closes rhbz#2018793) * Fri Jan 21 2022 Fedora Release Engineering - 0.4.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.4.1-4 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun May 17 2020 Fabian Affolter - 0.4.1-1 - Initial package for Fedora