SHA256
1
0
forked from pool/helmfile
helmfile/helmfile.spec
Manfred Hollstein 867d2b6130 - Update to version 0.166.0:
What's Changed
  * build(deps): bump github.com/aws/aws-sdk-go from 1.53.9 to
    1.53.10 by @dependabot in #1540
  * build(deps): bump github.com/aws/aws-sdk-go from 1.53.10 to
    1.53.11 by @dependabot in #1542
  * chore: add Incentive.me to the list of helmfile users by
    @gabriel-suela in #1545
  * build(deps): bump github.com/aws/aws-sdk-go from 1.53.11 to
    1.53.13 by @dependabot in #1546
  * build(deps): bump github.com/aws/aws-sdk-go from 1.53.13 to
    1.53.14 by @dependabot in #1549
  * build(deps): bump github.com/aws/aws-sdk-go from 1.53.14 to
    1.53.15 by @dependabot in #1552
  * build(deps): bump github.com/helmfile/vals from 0.37.1 to
    0.37.2 by @dependabot in #1551
  * build(deps): bump golang.org/x/term from 0.20.0 to 0.21.0
    by @dependabot in #1553
  * build(deps): bump goreleaser/goreleaser-action from 5 to 6
    by @dependabot in #1555
  * build(deps): bump github.com/aws/aws-sdk-go from 1.53.15 to
    1.53.17 by @dependabot in #1557
  * build(deps): bump github.com/aws/aws-sdk-go from 1.53.17 to
    1.53.18 by @dependabot in #1559
  * build(deps): bump github.com/aws/aws-sdk-go from 1.53.18 to
    1.53.19 by @dependabot in #1561
  * build(deps): bump github.com/aws/aws-sdk-go from 1.53.19 to
    1.53.20 by @dependabot in #1562
  * build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity
    from 1.5.2 to 1.6.0 by @dependabot in #1564
  * fix: Incentive.me url on list of helmfile users by
    @gabriel-suela in #1570
  * build(deps): bump github.com/aws/aws-sdk-go from 1.53.20 to
    1.54.0 by @dependabot in #1568
  * build(deps): bump helm.sh/helm/v3 from 3.15.1 to 3.15.2 by
    @dependabot in #1565
  * build(deps): bump github.com/aws/aws-sdk-go from 1.54.0 to
    1.54.1 by @dependabot in #1571
  * build(deps): bump docker/build-push-action from 5 to 6 by
    @dependabot in #1575
  * build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1
    by @dependabot in #1574
  * build(deps): bump k8s.io/apimachinery from 0.30.1 to 0.30.2
    by @dependabot in #1569
  * build(deps): bump github.com/aws/aws-sdk-go from 1.54.1 to
    1.54.2 by @dependabot in #1573
  * build(deps): bump github.com/aws/aws-sdk-go from 1.54.2 to
    1.54.3 by @dependabot in #1576
  * build(deps): bump github.com/aws/aws-sdk-go from 1.54.3 to
    1.54.5 by @dependabot in #1580
  * build(deps): bump github.com/hashicorp/hcl/v2 from 2.20.1 to
    2.21.0 by @dependabot in #1578
  * bump helm to 3.15.2 by @yxxhero in #1581
  * bump helm-diff to 3.9.8 by @yxxhero in #1582
  * build(deps): bump github.com/aws/aws-sdk-go from 1.54.5 to
    1.54.6 by @dependabot in #1583
  * build(deps): bump github.com/hashicorp/go-getter from 1.7.4
    to 1.7.5 by @dependabot in #1587
  * build(deps): bump github.com/helmfile/vals from 0.37.2 to
    0.37.3 by @dependabot in #1588
  * build(deps): bump github.com/hashicorp/go-retryablehttp from
    0.7.6 to 0.7.7 by @dependabot in #1590
  * build(deps): bump github.com/go-test/deep from 1.1.0 to 1.1.1
    by @dependabot in #1589
  * build(deps): bump github.com/aws/aws-sdk-go from 1.54.6 to
    1.54.7 by @dependabot in #1594
  * fix windows glob issue by @yxxhero in #1572
  * fix CVE-2024-24790 on helmfile (#1592) by @LionnelC in #1593
- This update contains fixes for boo#1227002, boo#1227014 and
  boo#1227040

OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=113
2024-06-26 13:09:36 +00:00

121 lines
4.0 KiB
RPMSpec

#
# spec file for package helmfile
#
# Copyright (c) 2024 SUSE LLC
# 2021-2024 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 655e1f96a410738290662942a93337875b151b99
Name: helmfile
Version: 0.166.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.13.1
Recommends: helm >= 3.14.0
BuildRequires: golang-packaging
BuildRequires: xz
BuildRequires: golang(API) >= 1.22
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