## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## 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 Name: python-fastapi-sso Version: 0.21.0 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: FastAPI plugin to enable SSO to most common providers # Check if the automatically generated License and its spelling is correct for Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ License: MIT URL: https://tomasvotava.github.io/fastapi-sso/ Source: %{pypi_source fastapi_sso} BuildArch: noarch BuildRequires: tomcli BuildRequires: python3-pytest BuildRequires: python3-pytest-asyncio # Fill in the actual package description to submit package to Fedora %global _description %{expand: FastAPI plugin to enable SSO to most common providers (such as Facebook login, Google login and login via Microsoft Office 365 account). This allows you to implement the famous Login with Google/Facebook/Microsoft buttons functionality on your backend very easily.} %description %_description %package -n python3-fastapi-sso Summary: %{summary} %description -n python3-fastapi-sso %_description %prep %autosetup -p1 -n fastapi_sso-%{version} tomcli set pyproject.toml arrays delitem "tool.pytest.ini_options.addopts" -- "--cov=fastapi_sso" tomcli set pyproject.toml arrays delitem "tool.pytest.ini_options.addopts" -- "--cov-report=xml:coverage.xml" tomcli set pyproject.toml arrays delitem "tool.pytest.ini_options.addopts" -- "--cov-report=json:coverage.json" tomcli set pyproject.toml arrays delitem "tool.pytest.ini_options.addopts" -- "--cov-report=term-missing" %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install # Add top-level Python module names here as arguments, you can use globs %pyproject_save_files -l fastapi_sso %check %pyproject_check_import %pytest %files -n python3-fastapi-sso -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Sat May 23 2026 John Doe - 0.21.0-1 - Uncommitted changes ## END: Generated by rpmautospec