Blob Blame History Raw
%global forgeurl
%define tag v%{version}

Name:           go2rpm
Version:        1.13.1
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

Convert Go packages to RPM.

%autosetup %{forgesetupargs}

%pyproject_buildrequires -x all,test



%pyproject_save_files %{name}

%pytest -m "not network"

%files  -f %{pyproject_files}
%license LICENSE

%pyproject_extras_subpkg -n go2rpm all vendor