Hello community, here is the log from the commit of package bazel0.25 for openSUSE:Factory checked in at 2019-07-23 22:41:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bazel0.25 (Old) and /work/SRC/openSUSE:Factory/.bazel0.25.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bazel0.25" Tue Jul 23 22:41:39 2019 rev:2 rq:717912 version:0.25.3 Changes: -------- --- /work/SRC/openSUSE:Factory/bazel0.25/bazel0.25.changes 2019-06-19 21:08:15.394503001 +0200 +++ /work/SRC/openSUSE:Factory/.bazel0.25.new.4126/bazel0.25.changes 2019-07-23 22:41:41.106848969 +0200 @@ -1,0 +2,5 @@ +Tue Jul 23 12:45:55 UTC 2019 - Guillaume GARDET <[email protected]> + +- Use openjdk 11/12 for aarch64 to workaround boo#1138529 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bazel0.25.spec ++++++ --- /var/tmp/diff_new_pack.0Lni6E/_old 2019-07-23 22:41:44.938844112 +0200 +++ /var/tmp/diff_new_pack.0Lni6E/_new 2019-07-23 22:41:44.938844112 +0200 @@ -1,5 +1,5 @@ # -# spec file for package bazel +# spec file for package bazel0.25 # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # @@ -16,6 +16,17 @@ # +#Workaround for aarch64 boo#1138529 +%ifarch aarch64 +%if 0%{?suse_version} > 1500 +%define openjdktouse java-12-openjdk-devel +%else +%define openjdktouse java-11-openjdk-devel +%endif +%else +%define openjdktouse java-1_8_0-openjdk-devel +%endif + %define bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null) %define shortname bazel %define shortver 0.25 @@ -28,8 +39,8 @@ URL: http://bazel.io/ Source0: https://github.com/bazelbuild/bazel/releases/download/%{version}/%{shortname}-%{version}-dist.zip Source1: https://github.com/bazelbuild/bazel/releases/download/%{version}/%{shortname}-%{version}-dist.zip.sig +BuildRequires: %{openjdktouse} BuildRequires: gcc-c++ -BuildRequires: java-1_8_0-openjdk-devel BuildRequires: pkgconfig BuildRequires: python BuildRequires: unzip @@ -38,7 +49,7 @@ BuildRequires: pkgconfig(zlib) Requires(post): update-alternatives Requires(postun): update-alternatives -Requires: java-1_8_0-openjdk-devel +Requires: %{openjdktouse} Provides: bazel = %{version} %ifarch armv7l ExclusiveArch: do_not_build
