Accepting request 522009 from Java:packages
Fix build with java 9 OBS-URL: https://build.opensuse.org/request/show/522009 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bouncycastle?expand=0&rev=17
This commit is contained in:
commit
6c4662907a
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 7 13:04:44 UTC 2017 - fstrba@suse.com
|
||||
|
||||
- Set java source and target to 1.6 to allow building with jdk9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 19 10:17:53 UTC 2017 - pcervinka@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package bouncycastle
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -69,7 +69,7 @@ unzip -qq src.zip -d src/
|
||||
%build
|
||||
pushd src
|
||||
export CLASSPATH=$(build-classpath junit)
|
||||
%javac -g -source 1.5 -target 1.5 -encoding UTF-8 $(find . -type f -name "*.java")
|
||||
%javac -g -source 1.6 -target 1.6 -encoding UTF-8 $(find . -type f -name "*.java")
|
||||
jarfile="../bcprov-%{version}.jar"
|
||||
# Exclude all */test/* files except org.bouncycastle.util.test, cf. upstream
|
||||
files="$(find . -type f \( -name '*.class' -o -name '*.properties' \) -not -path '*/test/*')"
|
||||
|
Loading…
Reference in New Issue
Block a user