## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 forgeurl https://gitlab.com/fedora/sigs/go/go2rpm %define tag v%{version} Name: go2rpm Version: 1.14.0 %forgemeta Release: %autorelease Summary: Convert Go packages to RPM License: MIT URL: %{forgeurl} Source: %{forgesource} BuildArch: noarch BuildRequires: python3-devel Requires: askalono-cli Requires: compiler(go-compiler) # Recommend go2rpm all extra that includes packages needed for the vendor # profile Recommends: go2rpm+all %description Convert Go packages to RPM. %prep %autosetup %{forgesetupargs} %generate_buildrequires %pyproject_buildrequires -x all,test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{name} %check %pytest -m "not network" %files -f %{pyproject_files} %license LICENSE %doc README.md %doc NEWS.md %{_bindir}/%{name} %pyproject_extras_subpkg -n go2rpm all vendor %changelog ## START: Generated by rpmautospec * Sun Jun 30 2024 Robert-André Mauchin - 1.14.0-2 - RPMAUTOSPEC: unresolvable merge ## END: Generated by rpmautospec