# Generated by go2rpm 1 %bcond_without check # https://github.com/minio/minio-go %global goipath github.com/minio/minio-go/v6 Version: 6.0.57 %gometa %global common_description %{expand: MinIO Client SDK for Go.} %global golicenses LICENSE NOTICE %global godocs docs examples CONTRIBUTING.md MAINTAINERS.md\\\ README.md README_zh_CN.md Name: %{goname} Release: %autorelease Summary: MinIO Client SDK for Go # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} # Go 1.15: https://github.com/golang/go/issues/32479 Patch0: 0001-Convert-int-to-string-using-strconv.Itoa.patch # Remove in F43 Provides: golang-github-minio-6 = %{version}-%{release} Obsoletes: golang-github-minio-6 < 6.0.57-8 %global godevelheader %{expand: Provides: golang-github-minio-6-devel = %{version}-%{release} Obsoletes: golang-github-minio-6-devel < 6.0.57-8} BuildRequires: golang(github.com/json-iterator/go) BuildRequires: golang(github.com/minio/md5-simd) BuildRequires: golang(github.com/minio/sha256-simd) BuildRequires: golang(github.com/mitchellh/go-homedir) BuildRequires: golang(golang.org/x/crypto/argon2) BuildRequires: golang(golang.org/x/net/http/httpguts) BuildRequires: golang(golang.org/x/net/publicsuffix) BuildRequires: golang(gopkg.in/ini.v1) %description %{common_description} %gopkg %prep %goprep %patch0 -p1 sed -i 's|parse %%%%%%%%:|parse "%%%%%%%%":|' pkg/credentials/iam_aws_test.go %install %gopkginstall %if %{with check} %check # .: needs network %gocheck -d . %endif %gopkgfiles %changelog %autochangelog