## START: Set by rpmautospec ## (rpmautospec version 0.7.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 Name: python-u-boot-pylib Version: 0.0.6 Release: %autorelease Summary: U-Boot Python library License: GPL-2.0-or-later URL: https://docs.u-boot.org Source: %{pypi_source u_boot_pylib} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: This is a Python library used by various U-Boot tools, including patman, buildman and binman.} %description %_description %package -n python3-u-boot-pylib Summary: %{summary} %description -n python3-u-boot-pylib %_description %prep %autosetup -p1 -n u_boot_pylib-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files u_boot_pylib %check %pyproject_check_import %files -n python3-u-boot-pylib -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Fri Oct 25 2024 Davide Cavalca - 0.0.6-1 - Initial import; Fixes: RHBZ#2315590 ## END: Generated by rpmautospec