Hello community,

here is the log from the commit of package metallb for openSUSE:Factory checked 
in at 2019-07-29 17:22:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/metallb (Old)
 and      /work/SRC/openSUSE:Factory/.metallb.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "metallb"

Mon Jul 29 17:22:07 2019 rev:3 rq:717594 version:0.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/metallb/metallb.changes  2019-06-12 
13:05:50.525195099 +0200
+++ /work/SRC/openSUSE:Factory/.metallb.new.4126/metallb.changes        
2019-07-29 17:22:09.210396337 +0200
@@ -1,0 +2,8 @@
+Mon Jul 22 13:20:23 CEST 2019 - [email protected]
+
+- Update to version 0.8.0
+  - add PodSecurityPolicy for speaker
+  - speaker now tolerates running on Kubernetes control plane nodes
+  - Removed metallb-pie.patch
+
+-------------------------------------------------------------------

Old:
----
  metallb-0.7.3.tar.gz
  metallb-pie.patch

New:
----
  metallb-0.8.0.tar.gz
  vendor.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ metallb.spec ++++++
--- /var/tmp/diff_new_pack.W5QHtd/_old  2019-07-29 17:22:10.578395830 +0200
+++ /var/tmp/diff_new_pack.W5QHtd/_new  2019-07-29 17:22:10.582395829 +0200
@@ -20,19 +20,17 @@
 # Project name when using go tooling.
 %define project go.universe.tf/metallb
 Name:           metallb
-Version:        0.7.3
+Version:        0.8.0
 Release:        0
 Summary:        Load Balancer for bare metal Kubernetes clusters
 License:        Apache-2.0
 Group:          System/Management
 URL:            https://github.com/google/metallb
 Source:         %{name}-%{version}.tar.gz
-Patch:          metallb-pie.patch
-BuildRequires:  golang-packaging
-BuildRequires:  golang(API) >= 1.11
+Source1:        vendor.tar.gz
+BuildRequires:  golang(API) >= 1.12
 ExcludeArch:    s390
-ExcludeArch:    %ix86
-%{go_nostrip}
+ExcludeArch:    %{ix86}
 
 %description
 MetalLB is a load-balancer implementation for bare metal Kubernetes clusters, 
using standard routing protocols.
@@ -53,7 +51,6 @@
 MetalLB is a load-balancer implementation for bare metal Kubernetes clusters, 
using standard routing protocols.
 This package contains the speaker binary.
 
-
 %package k8s-yaml
 Summary:        Kubernetes yaml file to run MetalLB container
 Group:          System/Management
@@ -64,42 +61,30 @@
 MetalLB container in a kubernetes cluster.
 
 %prep
-%setup -q
-%patch -p0
+%setup -qa1
 
 %build
-
-# We can't use symlinks here because go-list gets confused by symlinks, so we
-# have to copy the source to $HOME/go and then use that as the GOPATH.
-export GOPATH=$HOME/go
-mkdir -pv $HOME/go/src/%{project}
-rm -rf $HOME/go/src/%{project}/*
-cp -avr * $HOME/go/src/%{project}
-
-cd $HOME/go/src/%{project}
-make build
+go install -v -mod vendor -buildmode=pie ./controller ./speaker
 
 %install
 # Install the binary.
-cd $HOME/go/bin
 mkdir -p %{buildroot}%{_sbindir}/
-install -D -m 0755 controller %{buildroot}%{_sbindir}/
-install -D -m 0755 speaker %{buildroot}%{_sbindir}/
+install -D -m 0755 $HOME/go/bin/controller %{buildroot}%{_sbindir}/
+install -D -m 0755 $HOME/go/bin/speaker %{buildroot}%{_sbindir}/
 
 # Install provided yaml file to download and run the kured container
-cd $HOME/go/src/%{project}/manifests
-rm -f test-bgp-router.yaml
+cd manifests
 mkdir -p %{buildroot}%{_datadir}/k8s-yaml/metallb
 install -m 0644 *.yaml %{buildroot}%{_datadir}/k8s-yaml/metallb
 sed -i -e 's|image: metallb/controller.*|image: 
registry.opensuse.org/kubic/metallb-controller:%{version}|g' 
%{buildroot}%{_datadir}/k8s-yaml/metallb/metallb.yaml
 sed -i -e 's|image: metallb/speaker.*|image: 
registry.opensuse.org/kubic/metallb-speaker:%{version}|g' 
%{buildroot}%{_datadir}/k8s-yaml/metallb/metallb.yaml
 
 %files controller
-%license $HOME/go/src/%{project}/LICENSE
+%license LICENSE
 %{_sbindir}/controller
 
 %files speaker
-%license $HOME/go/src/%{project}/LICENSE
+%license LICENSE
 %{_sbindir}/speaker
 
 %files k8s-yaml

++++++ metallb-0.7.3.tar.gz -> metallb-0.8.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/metallb/metallb-0.7.3.tar.gz 
/work/SRC/openSUSE:Factory/.metallb.new.4126/metallb-0.8.0.tar.gz differ: char 
13, line 1


Reply via email to