# Generated by go2rpm
%bcond_without check
# https://github.com/crossdock/crossdock-go
%global goipath github.com/crossdock/crossdock-go
%global commit 049aabb0122b03bc9bd30cab8f3f91fb60166361
%gometa
%global common_description %{expand:
A Go client for Crossdock.}
%global golicenses LICENSE
%global godocs README.md
Name: %{goname}
Version: 0
Release: 0.4%{?dist}
Summary: Go client for Crossdock
License: MIT
URL: %{gourl}
Source0: %{gosource}
BuildRequires: golang(github.com/davecgh/go-spew/spew)
BuildRequires: golang(github.com/pmezard/go-difflib/difflib)
BuildRequires: golang(golang.org/x/net/context)
BuildRequires: golang(golang.org/x/net/context/ctxhttp)
%description
%{common_description}
%gopkg
%prep
%goprep
%build
for cmd in _codegen; do
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
done
%install
%gopkginstall
install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
%if %{with check}
%check
%gocheck
%endif
%files
%license LICENSE
%doc README.md
%{_bindir}/*
%gopkgfiles
%changelog
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon May 06 14:50:05 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20190628git049aabb
- Initial package