Hello community, here is the log from the commit of package metallb for openSUSE:Factory checked in at 2019-06-12 13:05:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/metallb (Old) and /work/SRC/openSUSE:Factory/.metallb.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "metallb" Wed Jun 12 13:05:49 2019 rev:2 rq:707462 version:0.7.3 Changes: -------- --- /work/SRC/openSUSE:Factory/metallb/metallb.changes 2019-04-04 15:27:45.178906039 +0200 +++ /work/SRC/openSUSE:Factory/.metallb.new.4811/metallb.changes 2019-06-12 13:05:50.525195099 +0200 @@ -1,0 +2,11 @@ +Tue Jun 4 13:26:49 CEST 2019 - kukuk@suse.de + +- Use official image from registry.opensuse.org + +------------------------------------------------------------------- +Wed Apr 10 11:32:56 CEST 2019 - kukuk@suse.de + +- Use our golang macros as far as possible +- metallb.yaml: use images from opensuse registry + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ metallb.spec ++++++ --- /var/tmp/diff_new_pack.BVKAWg/_old 2019-06-12 13:05:51.329194762 +0200 +++ /var/tmp/diff_new_pack.BVKAWg/_new 2019-06-12 13:05:51.333194759 +0200 @@ -17,8 +17,6 @@ # nodebuginfo -# Remove stripping of Go binaries. -%define __arch_install_post export NO_BRP_STRIP_DEBUG=true # Project name when using go tooling. %define project go.universe.tf/metallb Name: metallb @@ -30,10 +28,11 @@ URL: https://github.com/google/metallb Source: %{name}-%{version}.tar.gz Patch: metallb-pie.patch -BuildRequires: fdupes -BuildRequires: go >= 1.10 +BuildRequires: golang-packaging +BuildRequires: golang(API) >= 1.11 ExcludeArch: s390 ExcludeArch: %ix86 +%{go_nostrip} %description MetalLB is a load-balancer implementation for bare metal Kubernetes clusters, using standard routing protocols. @@ -92,8 +91,8 @@ rm -f test-bgp-router.yaml mkdir -p %{buildroot}%{_datadir}/k8s-yaml/metallb install -m 0644 *.yaml %{buildroot}%{_datadir}/k8s-yaml/metallb - -%fdupes %{buildroot} +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 @@ -103,7 +102,6 @@ %license $HOME/go/src/%{project}/LICENSE %{_sbindir}/speaker - %files k8s-yaml %dir %{_datarootdir}/k8s-yaml %{_datarootdir}/k8s-yaml/metallb