## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 7; 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 srcname cogapp Name: python-%{srcname} Version: 3.3.0 Release: %autorelease Summary: Content generator for executing Python snippets in source files License: MIT URL: http://nedbatchelder.com/code/cog Source: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Cog is a file generation tool. It lets you use pieces of Python code as generators in your source files to generate whatever text you need.} %description %_description %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %_description %prep %autosetup -p1 -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} # Remove redundant binary rm %{buildroot}%{_bindir}/cog.py %check %pyproject_check_import %files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst AUTHORS.txt %{_bindir}/cog %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 3.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 3.3.0-6 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 3.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 20 2023 Python Maint - 3.3.0-2 - Rebuilt for Python 3.12 * Tue Jun 20 2023 Davide Cavalca - 3.3.0-1 - Initial import; Fixes: RHBZ#2208805 ## END: Generated by rpmautospec