# Generated by go2rpm 1.8.0
%bcond_without check
%global debug_package %{nil}
# https://github.com/docker/go-connections
%global goipath github.com/docker/go-connections
Version: 0.4.0
%global commit 58542c764a1173ea3dac965d89146c931a2946f7
%gometa
%global common_description %{expand:
Go-connections provides common package to work with network connections.}
%global golicenses LICENSE
%global godocs CONTRIBUTING.md README.md
Name: %{goname}
Release: %autorelease
Summary: Utility package to work with network connections
License: Apache-2.0
URL: %{gourl}
Source: %{gosource}
# Update expired cert for tests
Patch0: 0001-update-expired-Lets-Encrypt-CA-fixture.patch
%description %{common_description}
%gopkg
%prep
%goprep
%patch0 -p1
%generate_buildrequires
%go_generate_buildrequires
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
%autochangelog