golang-k8s-cri-api-rpm/golang-k8s-cri-api.spec
2025-01-09 16:47:34 +01:00

61 lines
1.3 KiB
RPMSpec
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Generated by go2rpm 1.15.0
%bcond check 1
%bcond bootstrap 0
%global debug_package %{nil}
%if %{with bootstrap}
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
%endif
# https://github.com/kubernetes/cri-api
%global goipath k8s.io/cri-api
%global forgeurl https://github.com/kubernetes/cri-api
Version: 1.32.0
%global tag kubernetes-1.32.0
%global distprefix %{nil}
%gometa -L -f
%global common_description %{expand:
Container Runtime Interface (CRI) a plugin interface which enables kubelet to
use a wide variety of container runtimes.}
%global golicenses LICENSE
%global godocs CONTRIBUTING.md README.md code-of-conduct.md
Name: golang-k8s-cri-api
Release: %autorelease
Summary: Container Runtime Interface (CRI) a plugin interface which enables kubelet to use a wide variety of container runtimes
License: Apache-2.0
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep -A
%dnl %autopatch -p1
%if %{without bootstrap}
%generate_buildrequires
%go_generate_buildrequires
%endif
%install
%gopkginstall
%if %{without bootstrap}
%if %{with check}
%check
%gocheck
%endif
%endif
%gopkgfiles
%changelog
%autochangelog