SHA256
1
0
forked from pool/helmfile

Accepting request 821531 from home:manfred-h

- Install program using "make install" to ensure it knows its version
  number when called with "--version".

OBS-URL: https://build.opensuse.org/request/show/821531
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=2
This commit is contained in:
Manfred Hollstein 2020-07-21 13:16:49 +00:00 committed by Git OBS Bridge
parent d9e6756beb
commit eb3bfa2980
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jul 17 12:24:42 UTC 2020 - Manfred Hollstein <manfred.h@gmx.net>
- Install program using "make install" to ensure it knows its version
number.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 17 11:54:50 UTC 2020 - Manfred Hollstein <manfred.h@gmx.net> Fri Jul 17 11:54:50 UTC 2020 - Manfred Hollstein <manfred.h@gmx.net>

View File

@ -50,8 +50,9 @@ delegates to helm - as a result, helm must be installed.
go build -mod=vendor -buildmode=pie go build -mod=vendor -buildmode=pie
%install %install
make TAG=%{version} install
mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_bindir}
install -m755 helmfile %{buildroot}/%{_bindir}/helmfile install -m755 ${HOME}/go/bin/helmfile %{buildroot}/%{_bindir}/helmfile
%files %files
%doc README.md %doc README.md