Hello community, here is the log from the commit of package bazel0.26 for openSUSE:Factory checked in at 2019-07-23 22:41:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bazel0.26 (Old) and /work/SRC/openSUSE:Factory/.bazel0.26.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bazel0.26" Tue Jul 23 22:41:25 2019 rev:3 rq:717911 version:0.26.0 Changes: -------- --- /work/SRC/openSUSE:Factory/bazel0.26/bazel0.26.changes 2019-07-21 11:33:25.700786584 +0200 +++ /work/SRC/openSUSE:Factory/.bazel0.26.new.4126/bazel0.26.changes 2019-07-23 22:41:27.542866162 +0200 @@ -1,0 +2,5 @@ +Tue Jul 23 12:45:55 UTC 2019 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Use openjdk 11/12 for aarch64 to workaround boo#1138529 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bazel0.26.spec ++++++ --- /var/tmp/diff_new_pack.EisA4T/_old 2019-07-23 22:41:30.950861842 +0200 +++ /var/tmp/diff_new_pack.EisA4T/_new 2019-07-23 22:41:30.950861842 +0200 @@ -19,6 +19,18 @@ %define bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null) %define shortname bazel %define shortver 0.26 + +#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 + Name: bazel%{shortver} Version: 0.26.0 Release: 0 @@ -28,8 +40,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 +50,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