%define debug %nil %define debug_package %nil Name: helm Version: 3.12.0 Release: 1 Summary: The Kubernetes Package Manager URL: https://helm.sh Source0: https://github.com/helm/helm/archive/v%{version}/%{name}-%{version}.tar.gz License: ASL 2.0 Group: Development/Other BuildRequires: go BuildRequires: git-core BuildRequires: upx %description Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources. %prep %setup -q %build %make upx bin/%{name} %install install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name} install -d %{buildroot}%{_sysconfdir}/bash_completion.d bin/helm completion bash > %{buildroot}%{_sysconfdir}/bash_completion.d/%{name} %files %doc README.md LICENSE %{_bindir}/%{name} %{_sysconfdir}/bash_completion.d/%{name}