Hello community,
here is the log from the commit of package helm-mirror for openSUSE:Factory checked in at 2019-11-19 12:59:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/helm-mirror (Old)
and /work/SRC/openSUSE:Factory/.helm-mirror.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "helm-mirror"
Tue Nov 19 12:59:18 2019 rev:8 rq:749418 version:0.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/helm-mirror/helm-mirror.changes 2019-10-08 19:58:29.252097363 +0200
+++ /work/SRC/openSUSE:Factory/.helm-mirror.new.26869/helm-mirror.changes 2019-11-19 12:59:22.526132169 +0100
@@ -1,0 +2,10 @@
+Mon Nov 18 10:14:28 UTC 2019 - Vicente Zepeda Mas
+
+## v0.3.1
+
+- Update to use helm 2.16.1 to fix CVE-2019-18658
+- Update to use go modules
+
+bsc#1156646
+
+-------------------------------------------------------------------
Old:
----
helm-mirror-0.3.0.tar.gz
New:
----
helm-mirror-0.3.1.tar.gz
vendor.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ helm-mirror.spec ++++++
--- /var/tmp/diff_new_pack.joFviF/_old 2019-11-19 12:59:24.102131174 +0100
+++ /var/tmp/diff_new_pack.joFviF/_new 2019-11-19 12:59:24.106131172 +0100
@@ -20,13 +20,16 @@
%define project github.com/openSUSE/helm-mirror
Name: helm-mirror
-Version: 0.3.0
+Version: 0.3.1
Release: 0
Summary: Tool to mirror Helm repositories
License: Apache-2.0
Group: System/Management
Url: https://github.com/openSUSE/helm-mirror
Source: %{name}-%{version}.tar.gz
+Source1: vendor.tar.gz
+BuildRequires: fdupes
+BuildRequires: git
BuildRequires: go >= 1.11.3
BuildRequires: go-go-md2man
BuildRequires: golang-packaging
@@ -40,6 +43,7 @@
%prep
%setup -q
+%setup -q -T -D -a 1
%build
@@ -50,12 +54,14 @@
rm -rf $HOME/go/src/%{project}/*
cp -avr * $HOME/go/src/%{project}
-export VERSION=$(sed -n -e 's/version:[ "]*\([^"]*\).*/\1/p' plugin.yaml)
-if [ "$VERSION" != "%{version}" ]; then
- VERSION="%{version}_suse"
-fi
+export VERSION=%{version}
+export COMMIT=%{commit}
+go build \
+ -mod=vendor \
+ -buildmode=pie \
+ -ldflags "-X github.com/openSUSE/helm-mirror/cmd.version=$VERSION -X github.com/openSUSE/helm-mirror/cmd.gitCommit=$COMMIT" \
+ -o ./bin/helm-mirror ;
-make VERSION="$VERSION" mirror
make doc
%install
@@ -67,6 +73,8 @@
install -D -m 0644 $file "%{buildroot}/%{_mandir}/man1/$(basename $file)"
done
+%fdupes %{buildroot}
+
%files
%defattr(-,root,root)
%doc README.md LICENSE doc/*
++++++ _service ++++++
--- /var/tmp/diff_new_pack.joFviF/_old 2019-11-19 12:59:24.138131152 +0100
+++ /var/tmp/diff_new_pack.joFviF/_new 2019-11-19 12:59:24.138131152 +0100
@@ -2,8 +2,8 @@
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/openSUSE/helm-mirror</param>
<param name="scm">git</param>
- <param name="versionformat">0.3.0</param>
- <param name="revision">v0.3.0</param>
+ <param name="versionformat">0.3.1</param>
+ <param name="revision">v0.3.1</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">helm-mirror-*.tar</param>
@@ -12,4 +12,6 @@
<service name="set_version" mode="disabled">
<param name="basename">helm-mirror</param>
</service>
+ <service name="go_modules" mode="disabled">
+ </service>
</services>
++++++ helm-mirror-0.3.0.tar.gz -> helm-mirror-0.3.1.tar.gz ++++++
++++ 3301 lines of diff (skipped)