# Generated by go2rpm 1.5.0 # https://github.com/hashicorp/go-getter %global goipath github.com/hashicorp/go-getter Version: 1.5.9 %gometa %global common_description %{expand: Package for downloading things from a string URL using a variety of protocols.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: Package for downloading things from a string URL using a variety of protocols # Upstream license specification: MPL-2.0 License: MPLv2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(cloud.google.com/go/storage) BuildRequires: golang(github.com/aws/aws-sdk-go/aws) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/credentials) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/ec2metadata) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/session) BuildRequires: golang(github.com/aws/aws-sdk-go/service/s3) BuildRequires: golang(github.com/bgentry/go-netrc/netrc) BuildRequires: golang(github.com/cheggaaa/pb) BuildRequires: golang(github.com/hashicorp/go-cleanhttp) BuildRequires: golang(github.com/hashicorp/go-safetemp) BuildRequires: golang(github.com/hashicorp/go-version) BuildRequires: golang(github.com/klauspost/compress/zstd) BuildRequires: golang(github.com/mitchellh/go-homedir) BuildRequires: golang(github.com/mitchellh/go-testing-interface) BuildRequires: golang(github.com/ulikunitz/xz) BuildRequires: golang(google.golang.org/api/iterator) %description %{common_description} %gopkg %prep %goprep %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}/ %files %license LICENSE %doc README.md %{_bindir}/* %gopkgfiles %changelog * Wed Oct 06 2021 Gregory Hellings - 1.5.9-1%{?dist} - Initial package