helmfile/helmfile.spec
Manfred Hollstein c18d7a167a Accepting request 1135158 from home:manfred-h:devel:kubic
- Update to version 0.160.0:
  What's Changed
  * build(deps): bump golang.org/x/term from 0.14.0 to 0.15.0 by
    @dependabot in #1170
  * build(deps): bump github.com/aws/aws-sdk-go from 1.48.3 to
    1.48.4 by @dependabot in #1171
  * build(deps): bump github.com/aws/aws-sdk-go from 1.48.4 to
    1.48.6 by @dependabot in #1173
  * build(deps): bump github.com/aws/aws-sdk-go from 1.48.6 to
    1.48.7 by @dependabot in #1176
  * build(deps): bump github.com/aws/aws-sdk-go from 1.48.7 to
    1.48.9 by @dependabot in #1179
  * Fix failing docs build by @josephgardner in #1186
  * build(deps): bump github.com/aws/aws-sdk-go from 1.48.9 to
    1.48.10 by @dependabot in #1181
  * [dockerfile] latest sops by @jouve in #1185
  * [dockerfile] update plugins by @jouve in #1182
  * [dockerfile] age 1.1.1 by @jouve in #1183
  * [dockerfile] latest kubectl 1.25 by @jouve in #1184
  * [dockerfile] update latest kustomize by @jouve in #1188
  * feat: include func support by @yxxhero in #1187
  * build(deps): bump github.com/aws/aws-sdk-go from 1.48.10 to
    1.48.11 by @dependabot in #1190
  * Create DeleteWait and DeleteTimeout parameters for Destroy by
    @virginiabrioso in #1177
  * Allow secrets to be excluded from release template inheritance
    by @voron in #1189
  * build(deps): bump github.com/aws/aws-sdk-go from 1.48.11 to
    1.48.12 by @dependabot in #1191
  * fix(docs): specify python version by @josephgardner in #1193
  * fix(docs): typo in templating_funcs.md by @yxxhero in #1194
  * build(deps): bump github.com/helmfile/vals from 0.29.0 to
    0.30.0 by @dependabot in #1192
  * fix(docs): pin python to 3.11 by @josephgardner in #1197
  * chore(docs): update link by @josephgardner in #1198
  * build(deps): bump actions/setup-go from 4 to 5 by @dependabot
    in #1196
  * build(deps): bump github.com/aws/aws-sdk-go from 1.48.12 to
    1.48.13 by @dependabot in #1195
  * chore(docs): Add missing template funcs by @josephgardner in
    #1201
  * build(deps): bump github.com/aws/aws-sdk-go from 1.48.13 to
    1.48.14 by @dependabot in #1200
  * fix: --state-values-set unable to set booleans by
    @tunahansezen in #1199
  * build(deps): bump github.com/aws/aws-sdk-go from 1.48.14 to
    1.48.15 by @dependabot in #1202
  * chore: add bluelabs to list of helmfile users by @efcasado
    in #1206
  * consistently use Masterminds/semver by @jouve in #1209
  * simplify multierr usage with standard errors by @jouve in
    #1208
  * build(deps): bump github.com/aws/aws-sdk-go from 1.48.15 to
    1.48.16 by @dependabot in #1211
  * build(deps): bump github.com/aws/aws-sdk-go from 1.48.16 to
    1.49.0 by @dependabot in #1214
  * replace custom diff in tests using testify by @jouve in #1215
  * fix: ConditionEnabled panic issue by @yxxhero in #1221
  * build(deps): bump github.com/aws/aws-sdk-go from 1.49.0 to
    1.49.1 by @dependabot in #1223
  * bump helm version to 3.13.3 by @yxxhero in #1225
  * build(deps): bump github.com/aws/aws-sdk-go from 1.49.1 to
    1.49.2 by @dependabot in #1227
  * build(deps): bump k8s.io/apimachinery from 0.28.4 to 0.29.0
    by @dependabot in #1226
  * build(deps): bump github.com/aws/aws-sdk-go from 1.49.2 to
    1.49.3 by @dependabot in #1231
  * build(deps): bump github.com/helmfile/vals from 0.30.0 to
    0.31.0 by @dependabot in #1230
  * build(deps): bump actions/upload-artifact and
    actions/download-artifact from 3 to 4 by @yxxhero in #1234
  * build(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0
    by @dependabot in #1238
  * build(deps): bump github.com/aws/aws-sdk-go from 1.49.3 to
    1.49.4 by @dependabot in #1236
  * build(deps): bump github.com/aws/aws-sdk-go from 1.49.4 to
    1.49.5 by @dependabot in #1240
  * build(deps): bump github.com/containerd/containerd from
    1.7.6 to 1.7.11 by @dependabot in #1241
  * build(deps): bump github.com/aws/aws-sdk-go from 1.49.5 to
    1.49.6 by @dependabot in #1242
  * build(deps): bump github.com/aws/aws-sdk-go from 1.49.6 to
    1.49.7 by @dependabot in #1246
  * build(deps): bump github.com/aws/aws-sdk-go from 1.49.7 to
    1.49.8 by @dependabot in #1247

OBS-URL: https://build.opensuse.org/request/show/1135158
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=99
2023-12-26 09:42:40 +00:00

121 lines
4.0 KiB
RPMSpec

#
# spec file for package helmfile
#
# Copyright (c) 2023 SUSE LLC
# 2021 Manfred Hollstein <manfred.h@gmx.net>
#
# 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 git_commit e9cb5a05fe38eeaceb89e6b268882140f83e76af
Name: helmfile
Version: 0.160.0
Release: 0
Summary: Deploy Kubernetes Helm Charts
License: MIT
Group: Development/Languages/Other
URL: https://github.com/helmfile/helmfile
Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
Requires: helm >= 3.11.1
Recommends: helm >= 3.13.1
BuildRequires: golang-packaging
BuildRequires: xz
BuildRequires: golang(API) >= 1.21
Obsoletes: %{name}-bash-completion < %{version}
Obsoletes: %{name}-zsh-completion < %{version}
%description
Helmfile is a declarative spec for deploying helm charts. It lets you...
* Keep a directory of chart value files and maintain changes in version control.
* Apply CI/CD to configuration changes.
* Periodically sync to avoid skew in environments.
To avoid upgrades for each iteration of helm, the helmfile executable
delegates to helm - as a result, helm must be installed.
%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
%setup -qa1
%build
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
SOURCE_DATE_EPOCH=$(date -u -d "${modified}" "+%s")
export SOURCE_DATE_EPOCH
rm -f source_date_epoch
echo SOURCE_DATE_EPOCH=$SOURCE_DATE_EPOCH > source_date_epoch
go build -mod=vendor -buildmode=pie
%install
. ./source_date_epoch
export SOURCE_DATE_EPOCH
make TAG=v%{version} install
mkdir -p %{buildroot}%{_bindir}
install -m755 ${HOME}/go/bin/helmfile %{buildroot}/%{_bindir}/helmfile
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions
%{buildroot}/%{_bindir}/helmfile completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d
%{buildroot}/%{_bindir}/helmfile completion zsh > %{buildroot}%{_datarootdir}/zsh_completion.d/_%{name}
mkdir -p %{buildroot}%{_datadir}/fish/vendor_completions.d
%{buildroot}/%{_bindir}/helmfile completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
%files
%doc README.md
%license LICENSE
%{_bindir}/helmfile
%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