Hello community,

here is the log from the commit of package junit for openSUSE:Factory checked 
in at 2017-09-13 22:23:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/junit (Old)
 and      /work/SRC/openSUSE:Factory/.junit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "junit"

Wed Sep 13 22:23:16 2017 rev:20 rq:523033 version:4.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/junit/junit.changes      2017-05-31 
13:29:01.522422963 +0200
+++ /work/SRC/openSUSE:Factory/.junit.new/junit.changes 2017-09-13 
22:23:19.642801556 +0200
@@ -1,0 +2,8 @@
+Fri Sep  8 08:42:24 UTC 2017 - [email protected]
+
+- Added patch:
+  * junit-jdk9.patch
+    + Build with java source and target levels 1.6 in order to
+      allow building with jdk9
+
+-------------------------------------------------------------------

New:
----
  junit-jdk9.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ junit.spec ++++++
--- /var/tmp/diff_new_pack.2sBdpu/_old  2017-09-13 22:23:21.058602238 +0200
+++ /var/tmp/diff_new_pack.2sBdpu/_new  2017-09-13 22:23:21.062601674 +0200
@@ -30,6 +30,7 @@
 Patch0:         junit-no-hamcrest-src.patch
 #PATCH-FIX-UPSTREAM: build with jdk8 and newer, already in upstream repo
 Patch1:         junit-jdk8.patch
+Patch2:         junit-jdk9.patch
 BuildRequires:  ant
 BuildRequires:  hamcrest >= 1.3
 BuildRequires:  java-devel >= 1.6.0
@@ -83,12 +84,14 @@
 %setup -q -n junit-r%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 find . -type f -name "*.jar" -or -name "*.class" | xargs -t rm -rf
 
 ln -s $(build-classpath hamcrest/core) lib/hamcrest-core-1.3.jar
 
 %build
+export CLASSPATH=$(build-classpath hamcrest/core)
 ant dist -Dversion-status=
 
 %install

++++++ junit-jdk9.patch ++++++
--- junit-r4.11/build.xml       2012-11-13 21:10:09.000000000 +0100
+++ junit-r4.11/build.xml       2017-09-08 10:38:22.639250431 +0200
@@ -71,8 +71,8 @@
           debug="on"
           classpath="@{classpath}"
           includeantruntime="false"
-          source="1.5"
-          target="1.5"
+          source="1.6"
+          target="1.6"
           >
         <compilerarg value="-Xlint:unchecked" />
       </javac>

Reply via email to