## 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 %global commit c686d07c247730c507da4a050b47fd83a1aa1276 %global shortcommit c686d07 %global snapdate 20260304 %global commitcount 7 %global baseversion 0.4.1 %global versionsuffix ^%{snapdate}.%{commitcount}.git%{shortcommit} Name: lola Version: %{baseversion}%{versionsuffix} Release: %autorelease Summary: AI Skills Package Manager License: GPL-2.0-or-later URL: %{forgeurl} Source0: %{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 #%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 * Thu Mar 05 2026 John Doe - 0.4.1^20260304.7.gitc686d07-1 - Uncommitted changes ## END: Generated by rpmautospec