## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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.8.1 %bcond_without check # https://github.com/helm/helm %global goipath helm.sh/helm/v3 %global forgeurl https://github.com/helm/helm Version: 3.11.1 %gometa -f %global common_description %{expand: Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources. Use Helm to: - Find and use popular software packaged as Helm Charts to run in Kubernetes - Share your own applications as Helm Charts - Create reproducible builds of your Kubernetes applications - Intelligently manage your Kubernetes manifest files - Manage releases of Helm packages} %global golicenses LICENSE %global godocs ADOPTERS.md CONTRIBUTING.md README.md SECURITY.md\\\ code-of-conduct.md Name: %{goname} Release: %autorelease Summary: The Kubernetes Package Manager License: Apache-2.0 URL: %{gourl} Source: %{gosource} # Revert k8s API changes as our packages haven't caught up yet # https://github.com/helm/helm/commit/bd7c97f786f59b993dc34884f3d44ca0297f13e8 # https://github.com/helm/helm/commit/472c5736ab01133de504a826bd9ee12cbe4e7904 Patch: revert-k8s-bump.patch # Drop tests that require network access Patch: drop-network-tests.patch %if 0%{?fc36} # Build fails on these arches for Fedora 36 ExcludeArch: armv7hl aarch64 %endif %description %{common_description} %package -n helm Summary: %{summary} %description -n helm %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files -n helm %license LICENSE %doc ADOPTERS.md CONTRIBUTING.md README.md SECURITY.md code-of-conduct.md %{_bindir}/* %gopkgfiles %changelog * Wed Feb 22 2023 Davide Cavalca 3.11.1-2 - Gate out armv7hl and aarch64 for Fedora 36 due to build failures * Tue Feb 21 2023 Davide Cavalca 3.11.1-1 - Update to 3.11.1; Fixes: RHBZ#1977738, RHBZ#2045644, RHBZ#2138841, RHBZ#2142198, RHBZ#2142210, RHBZ#2097975, RHBZ#2155938, RHBZ#2155939, RHBZ#2163231, RHBZ#1971091, RHBZ#1971029 * Thu Jan 19 2023 Fedora Release Engineering - 3.5.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Aug 10 2022 Maxwell G - 3.5.4-7 - Rebuild to fix FTBFS * Thu Jul 21 2022 Fedora Release Engineering - 3.5.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 3.5.4-5 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jul 09 2022 Maxwell G - 3.5.4-4 - Rebuild for CVE-2022-{24675,28327,29526 in golang} * Thu Jan 20 2022 Fedora Release Engineering - 3.5.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 3.5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat May 22 20:47:07 PDT 2021 Davide Cavalca - 3.5.4-1 - Initial package