## 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 1 %bcond_without check %global debug_package %{nil} # https://github.com/kubernetes/kubectl %global goipath k8s.io/kubectl %global forgeurl https://github.com/kubernetes/kubectl Version: 1.22.0 %global tag kubernetes-1.22.0 %global distprefix %{nil} %gometa %global common_description %{expand: Issue tracker and mirror of kubectl code.} %global golicenses LICENSE %global godocs docs CONTRIBUTING.md README.md code-of-conduct.md Name: %{goname} Release: %autorelease Summary: Issue tracker and mirror of kubectl code # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} Patch0: 0001-Update-chai2010-gettext-go-to-1.0.2.patch %description %{common_description} %gopkg %prep %goprep %patch0 -p1 sed -i 's|github.com/russross/blackfriday|gopkg.in/russross/blackfriday.v1|' $(find . -iname "*.go" -type f) %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck -t pkg/cmd %endif %gopkgfiles %changelog * Fri Sep 30 2022 Anthony Rabbito 1.22.0-5 - fix FTBS (#2045648) use generate_buildrequires * Wed Aug 10 2022 Maxwell G 1.22.0-4 - Rebuild to fix FTBFS * Thu Jul 21 2022 Fedora Release Engineering 1.22.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 1.22.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Sep 03 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 * Sat Sep 19 21:07:38 CEST 2020 Robert-André Mauchin - 1.18.9-1 - Initial package