# Generated by go2rpm
%bcond_without check
# https://github.com/kisom/goutils
%global goipath github.com/kisom/goutils
Version: 1.4.3
%gometa
%global common_description %{expand:
This is a collection of small utility code written in Go; the cmd/ directory has
a number of command-line utilities.}
%global golicenses LICENSE
%global godocs CHANGELOG README.md
Name: %{goname}
Release: 1%{?dist}
Summary: Collection of small utility code written in Go
License: ISC
URL: %{gourl}
Source0: %{gosource}
# BuildRequires: golang(github.com/cloudflare/cfssl/errors)
# BuildRequires: golang(github.com/cloudflare/cfssl/helpers)
# BuildRequires: golang(github.com/cloudflare/cfssl/revoke)
BuildRequires: golang(github.com/kr/text)
BuildRequires: golang(github.com/pkg/errors)
BuildRequires: golang(github.com/pkg/sftp)
BuildRequires: golang(golang.org/x/crypto/blake2b)
BuildRequires: golang(golang.org/x/crypto/blake2s)
BuildRequires: golang(golang.org/x/crypto/md4)
BuildRequires: golang(golang.org/x/crypto/ripemd160)
BuildRequires: golang(golang.org/x/crypto/sha3)
BuildRequires: golang(golang.org/x/crypto/ssh)
BuildRequires: golang(golang.org/x/crypto/ssh/agent)
BuildRequires: golang(golang.org/x/sys/unix)
BuildRequires: golang(gopkg.in/yaml.v2)
%if %{with check}
# Tests
BuildRequires: golang(github.com/stretchr/testify/require)
BuildRequires: golang(golang.org/x/crypto/nacl/box)
%endif
%description
%{common_description}
%gopkg
%prep
%goprep
rm -rf cmd
# %%build
# for cmd in cmd/* ; 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 CHANGELOG README.md README-*
# %%{_bindir}/*
%gopkgfiles
%changelog
* Mon Dec 21 02:23:45 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.4.3-1
- Update to 1.4.3
- Close: rhbz#1896992
* Tue Jul 28 18:46:15 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.4.0-1
- Update to 1.4.0
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue May 07 22:20:09 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.3.0-1
- Initial package