[bouncycastle] Update javac target version to 1.7 to build with new java

Orcan Ogetbil oget at fedoraproject.org
Fri Jan 13 01:29:18 UTC 2012


commit c7c4ae9dc88058f0f62f89a396218aee59b82179
Author: Orcan Ogetbil <oget.fedora at gmail.com>
Date:   Thu Jan 12 20:29:16 2012 -0500

    Update javac target version to 1.7 to build with new java

 bouncycastle.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/bouncycastle.spec b/bouncycastle.spec
index 8531a71..1c6549c 100644
--- a/bouncycastle.spec
+++ b/bouncycastle.spec
@@ -5,7 +5,7 @@
 Summary:          Bouncy Castle Crypto Package for Java
 Name:             bouncycastle
 Version:          %{ver}
-Release:          2%{?dist}
+Release:          3%{?dist}
 Group:            System Environment/Libraries
 License:          MIT
 URL:              http://www.%{name}.org/
@@ -56,7 +56,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 -target 1.7 -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/*')"
@@ -173,6 +173,9 @@ fi
 %{_javadocdir}/%{name}/
 
 %changelog
+* Thu Jan 12 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.46-3
+- Update javac target version to 1.7 to build with new java
+
 * Thu Jan 12 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.46-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list