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

Orcan Ogetbil oget at fedoraproject.org
Fri Jan 13 02:43:36 UTC 2012


commit d201d2a823b96dc404b5df5b2867fa982ae2d8a8
Author: Orcan Ogetbil <oget.fedora at gmail.com>
Date:   Thu Jan 12 21:43:34 2012 -0500

    Update javac target version to 1.7 to build with new java

 bouncycastle-mail.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/bouncycastle-mail.spec b/bouncycastle-mail.spec
index bab88ea..a662420 100644
--- a/bouncycastle-mail.spec
+++ b/bouncycastle-mail.spec
@@ -4,7 +4,7 @@
 Summary:          S/MIME and CMS libraries for Bouncy Castle
 Name:             bouncycastle-mail
 Version:          %{ver}
-Release:          2%{?dist}
+Release:          3%{?dist}
 Group:            System Environment/Libraries
 License:          MIT
 URL:              http://www.bouncycastle.org/
@@ -57,7 +57,7 @@ find . -type f -name "*.jar" -exec rm -f {} \;
 %build
 pushd src
   export CLASSPATH=$(build-classpath junit4 bcprov javamail)
-  %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="../bcmail-%{version}.jar"
   # Exclude all */test/* , cf. upstream
   files="$(find . -type f \( -name '*.class' -o -name '*.properties' \) -not -path '*/test/*')"
@@ -124,6 +124,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