Blob Blame History Raw
# Generated by go2rpm
%global debug_package %{nil}
# Needs network and needs access to /var/run
%bcond_with check

# https://github.com/containernetworking/plugins
%global goipath         github.com/containernetworking/plugins
Version:                1.1.1

%gometa

%global common_description %{expand:
Some CNI network plugins, maintained by the containernetworking team.}

%global golicenses      LICENSE
%global godocs          RELEASING.md CONTRIBUTING.md README.md

Name:           %{goname}
Release:        %autorelease
Summary:        Standard networking plugins, maintained by the CNI team

# Upstream license specification: Apache-2.0
License:        ASL 2.0
URL:            %{gourl}
Source0:        %{gosource}

%description
%{common_description}

%gopkg

%prep
%goprep

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

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

%gopkgfiles

%changelog
%autochangelog