## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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 extras caching,grpc,semantic-router,utils Name: python-litellm Version: 1.81.15 Release: %autorelease Summary: Library to easily interface with LLM API providers License: MIT URL: https://litellm.ai Source: %{pypi_source litellm} Patch: fix-grpc-optional-dependency.diff BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-grpcio %global _description %{expand: This is package 'litellm' generated automatically by pyp2spec.} %description %_description %package -n python3-litellm Summary: %{summary} %description -n python3-litellm %_description %pyproject_extras_subpkg -n python3-litellm %{extras} %prep %autosetup -p1 -n litellm-%{version} %generate_buildrequires %pyproject_buildrequires -x %{extras} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files litellm %check %pyproject_check_import %pytest %files -n python3-litellm -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Wed Feb 25 2026 John Doe - 1.81.15-1 - Uncommitted changes ## END: Generated by rpmautospec