diff --git a/atinject-target-1.5.patch b/atinject-target-1.6.patch similarity index 78% rename from atinject-target-1.5.patch rename to atinject-target-1.6.patch index 69f07f0..097412a 100644 --- a/atinject-target-1.5.patch +++ b/atinject-target-1.6.patch @@ -6,8 +6,8 @@ # Compile classes. -javac -g -d build/classes `find src -name *.java` -javac -g -classpath build/classes:lib/junit.jar -d build/tck/classes \ -+javac -source 1.5 -target 1.5 -g -d build/classes `find src -name *.java` -+javac -source 1.5 -target 1.5 -g -classpath build/classes:lib/junit.jar -d build/tck/classes \ ++javac -source 1.6 -target 1.6 -g -d build/classes `find src -name *.java` ++javac -source 1.6 -target 1.6 -g -classpath build/classes:lib/junit.jar -d build/tck/classes \ `find tck -name *.java` FOOTER="Copyright (C) 2009 \ diff --git a/atinject.spec b/atinject.spec index 8f3734a..b61316b 100644 --- a/atinject.spec +++ b/atinject.spec @@ -18,8 +18,8 @@ Source1: MANIFEST.MF Source2: MANIFEST-TCK.MF Source3: http://www.apache.org/licenses/LICENSE-2.0.txt -# Compile with source/target 1.5 -Patch0: %{name}-target-1.5.patch +# Compile with source/target 1.6 +Patch0: %{name}-target-1.6.patch BuildRequires: javapackages-local BuildRequires: java-devel