Hello community, here is the log from the commit of package bazel0.24 for openSUSE:Factory checked in at 2019-07-23 22:41:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bazel0.24 (Old) and /work/SRC/openSUSE:Factory/.bazel0.24.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bazel0.24" Tue Jul 23 22:41:12 2019 rev:2 rq:717910 version:0.24.1 Changes: -------- --- /work/SRC/openSUSE:Factory/bazel0.24/bazel0.24.changes 2019-06-19 21:07:44.602474792 +0200 +++ /work/SRC/openSUSE:Factory/.bazel0.24.new.4126/bazel0.24.changes 2019-07-23 22:41:14.410882808 +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.24.spec ++++++ --- /var/tmp/diff_new_pack.6MPDAf/_old 2019-07-23 22:41:17.222879244 +0200 +++ /var/tmp/diff_new_pack.6MPDAf/_new 2019-07-23 22:41:17.226879238 +0200 @@ -19,6 +19,18 @@ %define bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null) %define shortname bazel %define shortver 0.24 + +#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.24.1 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
