Hello community,

here is the log from the commit of package tanukiwrapper for openSUSE:Factory 
checked in at 2017-09-20 17:14:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tanukiwrapper (Old)
 and      /work/SRC/openSUSE:Factory/.tanukiwrapper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tanukiwrapper"

Wed Sep 20 17:14:00 2017 rev:12 rq:527492 version:3.5.32

Changes:
--------
--- /work/SRC/openSUSE:Factory/tanukiwrapper/tanukiwrapper.changes      
2017-05-27 13:16:11.305968059 +0200
+++ /work/SRC/openSUSE:Factory/.tanukiwrapper.new/tanukiwrapper.changes 
2017-09-20 17:14:02.470151156 +0200
@@ -1,0 +2,5 @@
+Wed Sep 20 09:34:00 UTC 2017 - [email protected]
+
+- Fix build with jdk9: specify java source and target levels 1.6
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ tanukiwrapper.spec ++++++
--- /var/tmp/diff_new_pack.5Jf1x2/_old  2017-09-20 17:14:03.250041372 +0200
+++ /var/tmp/diff_new_pack.5Jf1x2/_new  2017-09-20 17:14:03.254040809 +0200
@@ -31,13 +31,13 @@
 BuildRequires:  ant-junit
 BuildRequires:  ant-nodeps >= 1.6.1
 BuildRequires:  cunit-devel
+BuildRequires:  fdupes
 BuildRequires:  glibc-devel
 BuildRequires:  java-devel >= 1.6.0
 BuildRequires:  javapackages-tools
 BuildRequires:  perl
 BuildRequires:  xerces-j2
 BuildRequires:  xml-commons-apis
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 The Java Service Wrapper is an application which has
@@ -75,9 +75,12 @@
 
 %build
 export CLASSPATH=$(build-classpath ant junit xerces-j2 xml-commons-apis)
-ant -Dbuild.sysclasspath=first -Dbits=%{__isa_bits}
+ant \
+    -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \
+    -Djavac.target.version=1.6 -Djava.specification.version=1.6 \
+    -Dbuild.sysclasspath=first -Dbits=%{__isa_bits}
 
-javadoc -sourcepath src/java -d build/javadoc org.tanukisoftware.wrapper
+javadoc -source 1.6 -sourcepath src/java -d build/javadoc 
org.tanukisoftware.wrapper
 
 %install
 # jar
@@ -96,28 +99,30 @@
 # javadoc
 install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
 cp -a build/javadoc/* %{buildroot}%{_javadocdir}/%{name}
+%fdupes -s %{buildroot}%{_javadocdir}/%{name}
 
 # manpage
 mkdir -p %{buildroot}%{_mandir}/man1
 install -p -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
 
 %check
-ant -Dbuild.sysclasspath=first -Dbits=%{__isa_bits} test
+ant \
+    -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \
+    -Djavac.target.version=1.6 -Djava.specification.version=1.6 \
+    -Dbuild.sysclasspath=first -Dbits=%{__isa_bits} \
+    test
 
 %files
-%defattr(-,root,root,-)
 %doc doc/wrapper-community-license-1.3.txt
 %{_sbindir}/%{name}
 %{_libdir}/libwrapper.so
 %{_javadir}/%{name}*.jar
-%{_mandir}/man1/%{name}.1.*
+%{_mandir}/man1/%{name}.1%{ext_man}
 
 %files javadoc
-%defattr(0644,root,root,0755)
 %{_javadocdir}/%{name}
 
 %files manual
-%defattr(0644,root,root,0755)
 %doc doc/*
 
 %changelog


Reply via email to