## 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 pypi_name lola %global forgeurl https://github.com/RedHatProductSecurity/lola Name: lola Version: 0.4.1 Release: %autorelease Summary: AI Skills Package Manager License: GPL-2.0-or-later URL: %{forgeurl} Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel #BuildRequires: python3-pytest #BuildRequires: python3-frontmatter >= 1.1.0 %description Lola is an AI Skills Package Manager that lets you write your AI context once and use it everywhere. It manages skills and commands for multiple AI assistants including Claude Code, Cursor, Gemini CLI, and OpenCode. Every AI tool wants its own prompt format. Lola fixes this by allowing you to write your skills and commands once as portable modules, then install them everywhere with a single command. %prep %autosetup -p1 -n %{pypi_name}-%{version} # Relax dependency versions to match what's available in Fedora. # click is available in the newer version only in rawhide for now. sed -i 's/click>=8.3.0/click>=8.1.7/' pyproject.toml %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{pypi_name} %check # Import check to verify the package is installable %pyproject_check_import %pytest %files -f %{pyproject_files} %doc README.md CONTRIBUTING.md AGENTS.md %license LICENSE %{_bindir}/lola %changelog ## START: Generated by rpmautospec * Wed Mar 04 2026 John Doe - 0.4.1-1 - Uncommitted changes ## END: Generated by rpmautospec