Files
golang-k8s-component-helper…/golang-k8s-component-helpers.spec
2025-01-13 01:24:07 +01:00

60 lines
1.2 KiB
RPMSpec

# Generated by go2rpm 1.15.0
%bcond check 0
%bcond bootstrap 0
%global debug_package %{nil}
%if %{with bootstrap}
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
%endif
# https://github.com/kubernetes/component-helpers
%global goipath k8s.io/component-helpers
%global forgeurl https://github.com/kubernetes/component-helpers
Version: 1.26.2
%global tag kubernetes-1.26.2
%gometa -L -f
%global common_description %{expand:
High-level helpers for Kubernetes components.}
%global golicenses LICENSE
%global godocs CONTRIBUTING.md README.md code-of-conduct.md
Name: golang-k8s-component-helpers
Release: %autorelease
Summary: High-level helpers for Kubernetes components
License: Apache-2.0
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep -A
%autopatch -p1 -q
%if %{without bootstrap}
%generate_buildrequires
%go_generate_buildrequires
%endif
%install
%gopkginstall
%if %{without bootstrap}
%if %{with check}
%check
%gocheck
%endif
%endif
%gopkgfiles
%changelog
%autochangelog