From e7ccdd8c1b23a69dd0e31843404e396e83e954bf3b1962ac6749e3b06b982f15 Mon Sep 17 00:00:00 2001 From: Michal Vyskocil Date: Fri, 18 May 2012 12:40:18 +0000 Subject: [PATCH] - bumb target to 1.6 OBS-URL: https://build.opensuse.org/package/show/Java:packages/bouncycastle?expand=0&rev=7 --- bouncycastle.changes | 5 +++++ bouncycastle.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bouncycastle.changes b/bouncycastle.changes index ab0666e..ab94c1f 100644 --- a/bouncycastle.changes +++ b/bouncycastle.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 18 12:39:28 UTC 2012 - mvyskocil@suse.cz + +- bumb target to 1.6 + ------------------------------------------------------------------- Mon Jan 16 14:19:33 UTC 2012 - mvyskocil@suse.cz diff --git a/bouncycastle.spec b/bouncycastle.spec index e639e76..8738e2a 100644 --- a/bouncycastle.spec +++ b/bouncycastle.spec @@ -13,6 +13,9 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + # %define ver 1.46 %define archivever jdk16-%(echo %{ver}|sed 's|\\\.||') @@ -74,7 +77,7 @@ unzip -qq src.zip -d src/ %build pushd src export CLASSPATH=$(build-classpath junit4) - %javac -g -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/*')"