File hamcrest-1.3-fork-javac.patch of Package hamcrest.17769

From 54b7ccdd1e16f1d6dd07359eae0fcac8f1883373 Mon Sep 17 00:00:00 2001
From: Michael Simacek <msimacek@redhat.com>
Date: Mon, 2 Jan 2017 10:31:56 +0100
Subject: [PATCH] Fork javac

---
 build.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: hamcrest-1.3/build.xml
===================================================================
--- hamcrest-1.3.orig/build.xml
+++ hamcrest-1.3/build.xml
@@ -268,7 +268,7 @@
                 <attribute name="Built-Date" value="${build.timestamp}"/>
             </manifest>
             <mkdir dir="build/temp/@{modulename}-${version}.jar.contents"/>
-            <javac srcdir="@{srcdir}" destdir="build/temp/@{modulename}-${version}.jar.contents" debug="${debug}" target="1.5" includeantruntime="false">
+            <javac srcdir="@{srcdir}" destdir="build/temp/@{modulename}-${version}.jar.contents" debug="${debug}" target="1.6" includeantruntime="false" fork="true">
                 <classpath>
                     <fileset dir="lib/integration">
                         <include name="*.jar"/>
openSUSE Build Service is sponsored by