Blob Blame History Raw
Name:           go2rpm
Version:        1.5.0
Release:        %autorelease
Summary:        Convert Go packages to RPM

License:        MIT
URL:            https://pagure.io/GoSIG/go2rpm
Source0:        %{url}/archive/v%{version}/%{name}-v%{version}.tar.gz

BuildArch:      noarch

BuildRequires:  python3-devel
BuildRequires:  python3dist(pip) >= 19
BuildRequires:  python3dist(packaging)
BuildRequires:  python3dist(setuptools) >= 40.8
BuildRequires:  python3dist(wheel)
Requires:       askalono-cli
Requires:       rust2rpm
Requires:       compiler(go-compiler)

%description
Convert Go packages to RPM.

%prep
%autosetup -n %{name}-v%{version} -p1

%build
%pyproject_wheel

%install
%pyproject_install

%pyproject_save_files %{name}

%files  -f %{pyproject_files}
%license LICENSE
%{_bindir}/%{name}

%changelog
%autochangelog