Sync from SUSE:ALP:Source:Standard:1.0 helm revision c42f2e27b880de82d0b3bc43730d8269
This commit is contained in:
commit
6c918b5fd2
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
19
_service
Normal file
19
_service
Normal file
@ -0,0 +1,19 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="url">https://github.com/helm/helm.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="revision">v3.16.3</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual">
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">helm-*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
<service name="go_modules" mode="manual"/>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/helm/helm.git</param>
|
||||
<param name="changesrevision">cfd07493f46efc9debd9cc1b02a0961186df7fdf</param></service></servicedata>
|
BIN
helm-3.16.3.obscpio
(Stored with Git LFS)
Normal file
BIN
helm-3.16.3.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
2360
helm.changes
Normal file
2360
helm.changes
Normal file
File diff suppressed because it is too large
Load Diff
4
helm.obsinfo
Normal file
4
helm.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: helm
|
||||
version: 3.16.3
|
||||
mtime: 1731352441
|
||||
commit: cfd07493f46efc9debd9cc1b02a0961186df7fdf
|
121
helm.spec
Normal file
121
helm.spec
Normal file
@ -0,0 +1,121 @@
|
||||
#
|
||||
# spec file for package helm
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define goipath helm.sh/helm/v3
|
||||
%define git_dirty clean
|
||||
Name: helm
|
||||
Version: 3.16.3
|
||||
Release: 0
|
||||
Summary: The Kubernetes Package Manager
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Other
|
||||
URL: https://github.com/helm/helm
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.gz
|
||||
BuildRequires: golang-packaging
|
||||
BuildRequires: golang(API) = 1.22
|
||||
%{go_provides}
|
||||
|
||||
%description
|
||||
Helm is a tool for managing Kubernetes charts. Charts are packages of pre-configured Kubernetes resources.
|
||||
|
||||
%package bash-completion
|
||||
Summary: Bash Completion for %{name}
|
||||
Group: System/Shells
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: (%{name} and bash-completion)
|
||||
BuildArch: noarch
|
||||
|
||||
%description bash-completion
|
||||
Bash command line completion support for %{name}.
|
||||
|
||||
%package zsh-completion
|
||||
Summary: Zsh Completion for %{name}
|
||||
Group: System/Shells
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: (%{name} and zsh)
|
||||
BuildArch: noarch
|
||||
|
||||
%description zsh-completion
|
||||
Zsh command line completion support for %{name}.
|
||||
|
||||
%package fish-completion
|
||||
Summary: Fish Completion for %{name}
|
||||
Group: System/Shells
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: (%{name} and fish)
|
||||
BuildArch: noarch
|
||||
|
||||
%description fish-completion
|
||||
Fish command line completion support for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -a1
|
||||
|
||||
%build
|
||||
%goprep %{goipath}
|
||||
export K8S_MINOR=$(grep k8s.io/client-go go.mod | cut -d. -f3)
|
||||
export GO111MODULE=on
|
||||
%ifnarch s390x
|
||||
export CGO_ENABLED=0
|
||||
%endif
|
||||
%gobuild -trimpath -tags '' -mod vendor -buildmode pie -ldflags \
|
||||
"-X %{goipath}/internal/version.version=v%{version} \
|
||||
-X %{goipath}/internal/version.gitCommit=$(sed -n 's/commit: \(.*\)/\1/p' %_sourcedir/%{name}.obsinfo) \
|
||||
-X %{goipath}/pkg/lint/rules.k8sVersionMajor=1 \
|
||||
-X %{goipath}/pkg/lint/rules.k8sVersionMinor=$K8S_MINOR \
|
||||
-X %{goipath}/pkg/chartutil.k8sVersionMajor=1 \
|
||||
-X %{goipath}/pkg/chartutil.k8sVersionMinor=$K8S_MINOR \
|
||||
-X %{goipath}/internal/version.gitTreeState=%{git_dirty}" cmd/helm
|
||||
|
||||
%install
|
||||
export GO111MODULE=on
|
||||
export CGO_ENABLED=0
|
||||
%goinstall
|
||||
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions
|
||||
%{buildroot}/%{_bindir}/helm completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
|
||||
mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d
|
||||
%{buildroot}/%{_bindir}/helm completion zsh > %{buildroot}%{_datarootdir}/zsh_completion.d/_%{name}
|
||||
mkdir -p %{buildroot}%{_datadir}/fish/vendor_completions.d
|
||||
%{buildroot}/%{_bindir}/helm completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
|
||||
|
||||
%check
|
||||
# requires network
|
||||
rm -v pkg/plugin/installer/*installer_test.go
|
||||
rm -v pkg/engine/engine_test.go
|
||||
GO111MODULE=on go test ./...
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/helm
|
||||
|
||||
%files bash-completion
|
||||
%dir %{_datarootdir}/bash-completion/completions/
|
||||
%{_datarootdir}/bash-completion/completions/%{name}
|
||||
|
||||
%files zsh-completion
|
||||
%dir %{_datarootdir}/zsh_completion.d/
|
||||
%{_datarootdir}/zsh_completion.d/_%{name}
|
||||
|
||||
%files fish-completion
|
||||
%dir %{_datarootdir}/fish
|
||||
%dir %{_datarootdir}/fish/vendor_completions.d
|
||||
%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
|
||||
|
||||
%changelog
|
BIN
vendor.tar.gz
(Stored with Git LFS)
Normal file
BIN
vendor.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user