## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm %bcond_without check # https://github.com/kubernetes/apimachinery %global goipath k8s.io/apimachinery %global forgeurl https://github.com/kubernetes/apimachinery Version: 1.22.0 %global tag kubernetes-1.22.0 %global distprefix %{nil} %gometa %global common_description %{expand: Scheme, typing, encoding, decoding, and conversion packages for Kubernetes and Kubernetes-like API objects.} %global golicenses LICENSE %global godocs CONTRIBUTING.md code-of-conduct.md README.md Name: %{goname} Release: %autorelease Summary: Scheme, typing, encoding, decoding, and conversion packages for Kubernetes # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/davecgh/go-spew/spew) BuildRequires: golang(github.com/evanphx/json-patch) BuildRequires: golang(github.com/gogo/protobuf/proto) BuildRequires: golang(github.com/gogo/protobuf/sortkeys) BuildRequires: golang(github.com/golang/protobuf/proto) BuildRequires: golang(github.com/google/go-cmp/cmp) BuildRequires: golang(github.com/google/gofuzz) BuildRequires: golang(github.com/google/uuid) BuildRequires: golang(github.com/googleapis/gnostic/openapiv2) BuildRequires: golang(github.com/json-iterator/go) BuildRequires: golang(github.com/moby/spdystream) BuildRequires: golang(github.com/modern-go/reflect2) BuildRequires: golang(github.com/mxk/go-flowrate/flowrate) BuildRequires: golang(github.com/spf13/pflag) BuildRequires: golang(golang.org/x/net/html) BuildRequires: golang(golang.org/x/net/html/atom) BuildRequires: golang(golang.org/x/net/http2) BuildRequires: golang(gopkg.in/inf.v0) BuildRequires: golang(k8s.io/klog/v2) BuildRequires: golang(k8s.io/kube-openapi/pkg/util/proto) BuildRequires: golang(sigs.k8s.io/structured-merge-diff/v4/fieldpath) BuildRequires: golang(sigs.k8s.io/structured-merge-diff/v4/typed) BuildRequires: golang(sigs.k8s.io/structured-merge-diff/v4/value) BuildRequires: golang(sigs.k8s.io/yaml) %if %{with check} # Tests BuildRequires: golang(github.com/elazarl/goproxy) BuildRequires: golang(github.com/google/go-cmp/cmp/cmpopts) BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) BuildRequires: golang(golang.org/x/net/websocket) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check # pkg/util/validation: this bug is specific to Golang 1.17 # due to this change: https://github.com/golang/go/commit/d3e3d03666bbd8784007bbb78a75864aac786967 # The fix is tracked upstream in: https://github.com/kubernetes/kubernetes/pull/104368 # It will probably available in a future version with a MSGV of 1.17 %gocheck -d pkg/util/validation %endif %gopkgfiles %changelog * Wed Aug 10 2022 Maxwell G 1.22.0-5 - Rebuild to fix FTBFS * Thu Jul 21 2022 Fedora Release Engineering 1.22.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 1.22.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Aug 19 2021 Robert-André Mauchin 1.22.0-2 - Disable a test not working with Go 1.17 pending upstream fix * Sat Aug 14 2021 Robert-André Mauchin 1.22.0-1 - Update to 1.22.0 * Thu Jul 22 2021 Fedora Release Engineering - 1.18.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.18.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Sep 29 20:43:53 CEST 2020 Robert-André Mauchin - 1.18.9-1 - Update to 1.18.9 * Wed Aug 19 18:24:00 CEST 2020 Robert-André Mauchin - 1.18.3-4 - Use gnostic compat package * Sat Aug 01 2020 Fedora Release Engineering - 1.18.3-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.18.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 14 18:24:27 CEST 2020 Robert-André Mauchin - 1.18.3-1 - Update to 1.18.3 * Sun Apr 12 21:19:10 CEST 2020 Robert-André Mauchin - 1.18.1-1 - Update to 1.18.1 * Wed Feb 05 18:24:51 CET 2020 Robert-André Mauchin - 1.17.2-1 - Update to 1.17.2 * Wed Jan 29 2020 Fedora Release Engineering - 1.15.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jul 06 16:21:53 CEST 2019 Robert-André Mauchin - 1.15.0-1 - Release 1.15.0 * Thu May 09 15:26:09 CEST 2019 Robert-André Mauchin - 1.13.7-1.beta.0 - Initial package