File golang-github-arceliar-ironwood.spec of Package golang-github-arceliar-ironwood

# Generated by go2rpm 1.6.0
%bcond_without check

%global debug_package %{nil}

# https://github.com/Arceliar/ironwood
%global goipath         github.com/Arceliar/ironwood
%global commit          75a6e82fa380e5d9d7f9dcf923681203de943cd8
%global shortcommit     75a6e82f

%gometa

%global common_description %{expand:
# FIXME}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Version:        0~git20241122.%{shortcommit}
Release:        1%{?dist}
Summary:        Routing library with a net.PacketConn-compatible interface

# Upstream license specification: MPL-2.0 and BSD-3-Clause
License:        MPL-2.0 and BSD-3-Clause
URL:            %{gourl}
Source0:        https://%{goipath}/archive/%{commit}/ironwood-%{commit}.tar.gz
BuildRequires:  go-rpm-macros
%if 0%{?rhel} || 0%{?centos}
BuildRequires:  go-rpm-macros-epel
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles