From 9bad1270016fa69ef6eff0b9efa67c6044649858ee919dd545b6fbb1c8e35fee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 5 Nov 2013 13:43:51 +0000 Subject: [PATCH] Accepting request 205913 from home:sleep_walker - fix java flags to build package for SLE_11_SP3 OBS-URL: https://build.opensuse.org/request/show/205913 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=30 --- protobuf.changes | 5 +++++ protobuf.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/protobuf.changes b/protobuf.changes index 90de9b0..71a2e74 100644 --- a/protobuf.changes +++ b/protobuf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 5 13:38:45 UTC 2013 - sleep_walker@suse.cz + +- fix java flags to build package for SLE_11_SP3 + ------------------------------------------------------------------- Fri Jun 7 15:32:55 UTC 2013 - dvaleev@suse.com diff --git a/protobuf.spec b/protobuf.spec index 6c07310..b283eae 100644 --- a/protobuf.spec +++ b/protobuf.spec @@ -152,7 +152,7 @@ pushd java %if 0%{?suse_version} == 1110 # 11.1 only workaround # http://en.opensuse.org/Java/Packaging/Cookbook#bytecode_version_error -extra_java_flags="-target 1.5" +extra_java_flags="-target 1.5 -source 1.5" %endif javac $extra_java_flags -d classes src/main/java/com/google/protobuf/*.java sed -e 's/@VERSION@/%version/' < %{SOURCE1} > manifest.txt