## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-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*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1 %bcond_without check # https://github.com/kubernetes-sigs/kustomize/ %global goipath sigs.k8s.io/kustomize/kyaml %global forgeurl https://github.com/kubernetes-sigs/kustomize Version: 0.13.3 %global tag kyaml/v0.13.3 %global distprefix %{nil} %gometa %global common_description %{expand: Customization of kubernetes YAML configurations.} %global golicenses LICENSE_TEMPLATE Name: %{goname} Release: %autorelease Summary: Customization of kubernetes YAML configurations # 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/go-errors/errors) BuildRequires: golang(github.com/monochromegane/go-gitignore) BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(github.com/sergi/go-diff/diffmatchpatch) BuildRequires: golang(github.com/spf13/cobra) BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) BuildRequires: golang(github.com/xlab/treeprint) BuildRequires: golang(go.starlark.net/starlark) BuildRequires: golang(go.starlark.net/starlarkstruct) BuildRequires: golang(gopkg.in/yaml.v2) BuildRequires: golang(k8s.io/kube-openapi/pkg/validation/errors) BuildRequires: golang(k8s.io/kube-openapi/pkg/validation/spec) BuildRequires: golang(k8s.io/kube-openapi/pkg/validation/strfmt) BuildRequires: golang(k8s.io/kube-openapi/pkg/validation/validate) BuildRequires: golang(sigs.k8s.io/yaml) %if %{with check} # Tests BuildRequires: golang(github.com/golang/protobuf/proto) BuildRequires: golang(github.com/google/go-cmp/cmp) BuildRequires: golang(github.com/googleapis/gnostic/openapiv2) BuildRequires: golang(gopkg.in/check.v1) %endif %description %{common_description} %gopkg %prep %goprep find . -mindepth 1 -maxdepth 1 -not -wholename './kyaml' -not -wholename './_build' -exec rm -rf {} + mv kyaml/* ./ %install %gopkginstall %if %{with check} %check %gocheck -d comments \ -d fix/fixsetters \ -d fn/runtime/runtimeutil \ -d fn/runtime/starlark \ -d kio \ -d setters2 \ -d yaml \ -d yaml/merge3 \ -d filesys \ -t internal %endif %gopkgfiles %changelog * Wed Aug 10 2022 Maxwell G 0.13.3-5 - Rebuild to fix FTBFS * Thu Jul 21 2022 Fedora Release Engineering 0.13.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Feb 26 2022 Robert-André Mauchin 0.13.3-3 - Disable test of forked repo * Sat Feb 26 2022 Robert-André Mauchin 0.13.3-2 - Add missing test BR * Sat Feb 26 2022 Robert-André Mauchin 0.13.3-1 - Update to 0.13.3 (fix FTBFS) Close: rhbz#2045663 Close: rhbz#1963598 * Thu Jan 20 2022 Fedora Release Engineering - 0.10.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.10.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.10.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 22 23:46:54 CET 2021 Robert-André Mauchin - 0.10.6-1 - Update to 0.10.6 * Tue Aug 18 04:24:00 CEST 2020 Robert-André Mauchin - 3.8.1-1 - Initial package