# Generated by go2rpm 1.3 %bcond_without check # https://github.com/kubernetes-sigs/aws-iam-authenticator %global goipath sigs.k8s.io/aws-iam-authenticator %global forgeurl https://github.com/kubernetes-sigs/aws-iam-authenticator Version: 0.5.2 %gometa %global common_description %{expand: A tool to use AWS IAM credentials to authenticate to a Kubernetes cluster. The initial work on this tool was driven by Heptio. The project receives contributions from multiple community engineers and is currently maintained by Heptio and Amazon EKS OSS Engineers.} %global golicenses LICENSE %global godocs CHANGELOG.md CONTRIBUTING.md code-of-conduct.md\\\ README.md Name: %{goname} Release: 10%{?dist} Summary: Tool to use AWS IAM credentials to authenticate to a Kubernetes cluster # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} # Add context.TODO() to use with newer k8s.io/client-go Patch0: 0001-Compatibility-with-newer-k8s.patch BuildRequires: golang(github.com/aws/aws-sdk-go/aws) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/arn) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/credentials) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/credentials/stscreds) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/ec2metadata) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/endpoints) BuildRequires: golang(github.com/aws/aws-sdk-go/aws/session) BuildRequires: golang(github.com/aws/aws-sdk-go/service/ec2) BuildRequires: golang(github.com/aws/aws-sdk-go/service/ec2/ec2iface) BuildRequires: golang(github.com/aws/aws-sdk-go/service/sts) BuildRequires: golang(github.com/aws/aws-sdk-go/service/sts/stsiface) BuildRequires: golang(github.com/gofrs/flock) BuildRequires: golang(github.com/prometheus/client_golang/prometheus) BuildRequires: golang(github.com/prometheus/client_golang/prometheus/promhttp) BuildRequires: golang(github.com/sirupsen/logrus) BuildRequires: golang(github.com/spf13/cobra) BuildRequires: golang(github.com/spf13/viper) BuildRequires: golang(go.hein.dev/go-version) BuildRequires: golang(golang.org/x/time/rate) BuildRequires: golang(gopkg.in/yaml.v2) BuildRequires: golang(k8s.io/api/authentication/v1beta1) BuildRequires: golang(k8s.io/api/core/v1) BuildRequires: golang(k8s.io/apimachinery/pkg/api/errors) BuildRequires: golang(k8s.io/apimachinery/pkg/apis/meta/v1) BuildRequires: golang(k8s.io/apimachinery/pkg/fields) BuildRequires: golang(k8s.io/apimachinery/pkg/labels) BuildRequires: golang(k8s.io/apimachinery/pkg/runtime) BuildRequires: golang(k8s.io/apimachinery/pkg/runtime/schema) BuildRequires: golang(k8s.io/apimachinery/pkg/runtime/serializer) BuildRequires: golang(k8s.io/apimachinery/pkg/types) BuildRequires: golang(k8s.io/apimachinery/pkg/util/errors) BuildRequires: golang(k8s.io/apimachinery/pkg/util/runtime) BuildRequires: golang(k8s.io/apimachinery/pkg/util/sets) BuildRequires: golang(k8s.io/apimachinery/pkg/util/wait) BuildRequires: golang(k8s.io/apimachinery/pkg/util/yaml) BuildRequires: golang(k8s.io/apimachinery/pkg/watch) BuildRequires: golang(k8s.io/client-go/discovery) BuildRequires: golang(k8s.io/client-go/discovery/fake) BuildRequires: golang(k8s.io/client-go/kubernetes) BuildRequires: golang(k8s.io/client-go/kubernetes/scheme) BuildRequires: golang(k8s.io/client-go/kubernetes/typed/core/v1) BuildRequires: golang(k8s.io/client-go/pkg/apis/clientauthentication/v1alpha1) BuildRequires: golang(k8s.io/client-go/rest) BuildRequires: golang(k8s.io/client-go/testing) BuildRequires: golang(k8s.io/client-go/tools/cache) BuildRequires: golang(k8s.io/client-go/tools/clientcmd) BuildRequires: golang(k8s.io/client-go/tools/record) BuildRequires: golang(k8s.io/client-go/util/flowcontrol) BuildRequires: golang(k8s.io/client-go/util/workqueue) BuildRequires: golang(k8s.io/component-base/featuregate) BuildRequires: golang(k8s.io/sample-controller/pkg/signals) %if %{with check} # Tests BuildRequires: golang(k8s.io/apimachinery/pkg/util/diff) BuildRequires: golang(k8s.io/client-go/kubernetes/fake) BuildRequires: golang(k8s.io/client-go/kubernetes/typed/core/v1/fake) %endif %description %{common_description} %gopkg %prep %goprep %patch0 -p1 %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 # To Fix! %gocheck %endif %files %license LICENSE %doc CHANGELOG.md CONTRIBUTING.md code-of-conduct.md README.md %doc hack/boilerplate.go.txt hack/changelog.py %{_bindir}/* %gopkgfiles %changelog * Wed Aug 10 2022 Maxwell G - 0.5.2-10 - Rebuild to fix FTBFS * Thu Jul 21 2022 Fedora Release Engineering - 0.5.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 0.5.2-8 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Thu Jun 23 2022 Maxwell G - 0.5.2-7 - Rebuild to mitigate CVE-2022-21698 (rhbz#2067400). * Sat Jun 18 2022 Robert-André Mauchin - 0.5.2-6 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Sat Apr 16 2022 Fabio Alessandro Locati - 0.5.2-5 - Rebuilt for CVE-2022-27191 * Thu Jan 20 2022 Fedora Release Engineering - 0.5.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Dec 23 11:21:43 CET 2020 Robert-André Mauchin - 0.5.2-1 - Initial package