Hello community, here is the log from the commit of package helm for openSUSE:Factory checked in at 2019-06-19 20:57:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/helm (Old) and /work/SRC/openSUSE:Factory/.helm.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "helm" Wed Jun 19 20:57:21 2019 rev:8 rq:703668 version:2.13.1 Changes: -------- --- /work/SRC/openSUSE:Factory/helm/helm.changes 2018-12-24 11:46:43.761168736 +0100 +++ /work/SRC/openSUSE:Factory/.helm.new.4811/helm.changes 2019-06-19 20:57:41.141944308 +0200 @@ -1,0 +2,24 @@ +Fri May 17 09:47:48 CEST 2019 - [email protected] + +- set correct git_commit value so that 'helm version' reports correctly +- build with Go 1.11 to prevent https://github.com/helm/helm/issues/4987 +- added service file for helm-serve + +------------------------------------------------------------------- +Thu May 16 04:26:51 UTC 2019 - Thomas Bechtold <[email protected]> + +- Add README.packaging as Source +- Update to version 2.13.1. See following changelogs for detailed + descriptions: + * https://github.com/helm/helm/releases/tag/v2.13.1 + * https://github.com/helm/helm/releases/tag/v2.13.0 + * https://github.com/helm/helm/releases/tag/v2.12.3 + * https://github.com/helm/helm/releases/tag/v2.12.2 + * https://github.com/helm/helm/releases/tag/v2.12.1 + * https://github.com/helm/helm/releases/tag/v2.12.0 + * https://github.com/helm/helm/releases/tag/v2.11.0 + * https://github.com/helm/helm/releases/tag/v2.10.0 + * https://github.com/helm/helm/releases/tag/v2.9.1 + * https://github.com/helm/helm/releases/tag/v2.9.0 + +------------------------------------------------------------------- Old: ---- helm-2.8.2.tar.xz New: ---- README.packaging helm-2.13.1.tar.xz helm-serve.service ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ helm.spec ++++++ --- /var/tmp/diff_new_pack.6x9SLB/_old 2019-06-19 20:57:43.153945984 +0200 +++ /var/tmp/diff_new_pack.6x9SLB/_new 2019-06-19 20:57:43.157945987 +0200 @@ -1,7 +1,7 @@ # # spec file for package helm # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define git_commit %{version} +%define git_commit 618447cbf203d147601b4b9bd7f8c37a5d39fbb4 Name: helm -Version: 2.8.2 +Version: 2.13.1 Release: 0 Summary: The Kubernetes Package Manager License: Apache-2.0 @@ -26,9 +26,13 @@ URL: https://github.com/kubernetes/helm Source: %{name}-%{version}.tar.xz Source1: vendor.tar.xz -BuildRequires: go1.10 >= 1.10.6 +Source2: helm-serve.service +BuildRequires: go1.11 +Source99: README.packaging BuildRequires: golang-packaging +BuildRequires: systemd-rpm-macros BuildRequires: xz +%{?systemd_requires} %{go_nostrip} %{go_provides} @@ -49,10 +53,27 @@ install -m755 bin/helm %{buildroot}/%{_bindir}/helm install -m755 bin/tiller %{buildroot}/%{_bindir}/tiller +mkdir -p %{buildroot}%{_sbindir} %{buildroot}%{_unitdir} +install -p -D -m 444 %{SOURCE2} %{buildroot}%{_unitdir}/helm-serve.service + +%pre +%service_add_pre helm-serve.service + +%post +%service_add_post helm-serve.service + +%preun +%service_del_preun helm-serve.service + +%postun +%restart_on_update helm-serve.service +%service_del_postun helm-serve.service + %files %doc README.md %license LICENSE %{_bindir}/helm %{_bindir}/tiller +%{_unitdir}/helm-serve.service %changelog ++++++ README.packaging ++++++ Updating the vendor.tar.xz taball --------------------------------- helm is using glide so you need a working glide binary. Then updating the vendor.tar.xz tarball is done via: $ cd $GOPATH $ mkdir -p src/k8s.io $ cd src/k8s.io $ git clone https://github.com/helm/helm.git # $VERSION is the version you want to package git checkout $VERSION $ cd helm # make bootstrap will create the vendor/ directory $ make bootstrap build # now create the vendor tarball and use that in the package $ tar cJf vendor.tar.xz vendor++++++ _service ++++++ --- /var/tmp/diff_new_pack.6x9SLB/_old 2019-06-19 20:57:43.209946030 +0200 +++ /var/tmp/diff_new_pack.6x9SLB/_new 2019-06-19 20:57:43.213946034 +0200 @@ -3,8 +3,8 @@ <param name="url">https://github.com/kubernetes/helm.git</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="versionformat">2.8.2</param> - <param name="revision">v2.8.2</param> + <param name="versionformat">2.13.1</param> + <param name="revision">v2.13.1</param> <param name="changesgenerate">enable</param> </service> <service name="recompress" mode="disabled"> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.6x9SLB/_old 2019-06-19 20:57:43.233946050 +0200 +++ /var/tmp/diff_new_pack.6x9SLB/_new 2019-06-19 20:57:43.233946050 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/kubernetes/helm.git</param> - <param name="changesrevision">a80231648a1473929271764b920a8e346f6de844</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">618447cbf203d147601b4b9bd7f8c37a5d39fbb4</param></service></servicedata> \ No newline at end of file ++++++ helm-2.8.2.tar.xz -> helm-2.13.1.tar.xz ++++++ /work/SRC/openSUSE:Factory/helm/helm-2.8.2.tar.xz /work/SRC/openSUSE:Factory/.helm.new.4811/helm-2.13.1.tar.xz differ: char 25, line 1 ++++++ helm-serve.service ++++++ [Unit] Description=Helm Server After=network.target [Service] User=root Restart=always ExecStart=/usr/bin/helm serve [Install] WantedBy=multi-user.target ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/helm/vendor.tar.xz /work/SRC/openSUSE:Factory/.helm.new.4811/vendor.tar.xz differ: char 25, line 1
