[annogen] Bump build source/target from java 1.4 to 1.5 (RHBZ#842571)

Andy Grimm arg at fedoraproject.org
Tue Feb 26 02:50:25 UTC 2013


commit 2a2398bd21d363f79f34cc53383932f2d1090540
Author: Andy Grimm <agrimm at gmail.com>
Date:   Mon Feb 25 21:50:14 2013 -0500

    Bump build source/target from java 1.4 to 1.5 (RHBZ#842571)

 annogen.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/annogen.spec b/annogen.spec
index 3919ac4..eaf5acc 100644
--- a/annogen.spec
+++ b/annogen.spec
@@ -1,6 +1,6 @@
 Name:           annogen 
 Version:        0.1.0
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Java framework for JSR-175 annotations
 
 Group:          Development/Libraries  
@@ -45,6 +45,9 @@ find docs -name '*.html' -o -name '*.css' | xargs dos2unix
 
 %build
 export CLASSPATH=$( build-classpath qdox)
+for x in *.xml; do 
+  sed -i -e "s/source='1.4'/source='1.5'/; s/target='1.4'/target='1.5'/" $x;
+done
 ant jars
 ant docs
 
@@ -71,6 +74,9 @@ cp -rp build/docs/* %{buildroot}%{_javadocdir}/%{name}/
 
 
 %changelog
+* Mon Feb 25 2013 Andy Grimm <agrimm at gmail.com> - 0.1.0-5
+- Bump build source/target from java 1.4 to 1.5 (RHBZ#842571)
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list