## 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 %global src_name ament_package Name: python-ament-package Version: 0.19.1 Release: %autorelease Summary: Parser for the manifest files in the ament build system License: Apache-2.0 URL: https://github.com/ament/ament_package Source: %{url}/archive/%{version}/%{src_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-flake8 %description %{summary}. %package -n python3-ament-package Summary: %{summary} %description -n python3-ament-package %{summary}. %prep %autosetup -n %{src_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{src_name} %check %pytest -v %files -n python3-ament-package -f %{pyproject_files} %{_datadir}/ament_index %{_datadir}/ament_package %changelog ## START: Generated by rpmautospec * Mon Sep 07 2026 John Doe - 0.19.1-1 - Uncommitted changes ## END: Generated by rpmautospec