From 5e09ca4581403c130156d81c29289995569e887d8d0b81710b90e96cc4fcaa85 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 16 Oct 2014 21:00:52 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:Factory/java-1_8_0-openjdk?expand=0&rev=34 --- java-1_8_0-openjdk.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/java-1_8_0-openjdk.spec b/java-1_8_0-openjdk.spec index 6ba0c9d..f7cdefe 100644 --- a/java-1_8_0-openjdk.spec +++ b/java-1_8_0-openjdk.spec @@ -601,8 +601,9 @@ bash ../configure \ %endif %if 0%{?suse_version} >= 1120 --with-extra-cflags="-fno-devirtualize" \ - --with-extra-cxxflags="-fno-devirtualize" + --with-extra-cxxflags="-fno-devirtualize" \ %endif + --with-boot-jdk=%{_sysconfdir}/alternatives/java_sdk # The combination of FULL_DEBUG_SYMBOLS=0 and ALT_OBJCOPY=/does_not_exist # disables FDS for all build configs and reverts to pre-FDS make logic. @@ -682,7 +683,11 @@ if [ -f "$ZERO_JVM" ] ; then fi %install -STRIP_KEEP_SYMTAB=libjvm* +export LANG=en_US.UTF-8 +#bnc#530046 +export STRIP_KEEP_SYMTAB=libjvm* +# skip /usr/lib/rpm/brp-check-bytecode-version: +export NO_BRP_CHECK_BYTECODE_VERSION=true %if %{with_systemtap} # Install systemtap support files.