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

Orcan Ogetbil oget at fedoraproject.org
Fri Jan 13 03:14:40 UTC 2012


commit 98db8c8703aaa3b2fb1aef41f337252f6d787fdb
Author: Orcan Ogetbil <oget.fedora at gmail.com>
Date:   Thu Jan 12 22:14:38 2012 -0500

    Update javac target version to 1.7 to build with new java

 bouncycastle-tsp.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/bouncycastle-tsp.spec b/bouncycastle-tsp.spec
index de10475..cacc661 100644
--- a/bouncycastle-tsp.spec
+++ b/bouncycastle-tsp.spec
@@ -4,7 +4,7 @@
 Summary:          TSP libraries for Bouncy Castle
 Name:             bouncycastle-tsp
 Version:          %{ver}
-Release:          2%{?dist}
+Release:          3%{?dist}
 Group:            System Environment/Libraries
 License:          MIT
 URL:              http://www.bouncycastle.org/
@@ -51,7 +51,7 @@ find . -type f -name "*.jar" -exec rm -f {} \;
 %build
 pushd src
   export CLASSPATH=$(build-classpath bcprov bcmail 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="../bctsp-%{version}.jar"
   # Exclude all */test/* , cf. upstream
   files="$(find . -type f \( -name '*.class' -o -name '*.properties' \) -not -path '*/test/*')"
@@ -118,6 +118,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_javadocdir}/%{name}/
 
 %changelog
+* Thu Jan 12 2012 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 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