Hello community,

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

Package is "jakarta-commons-fileupload"

Wed Sep 20 17:08:56 2017 rev:22 rq:527003 version:1.1.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/jakarta-commons-fileupload/jakarta-commons-fileupload.changes
    2014-07-16 16:49:57.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.jakarta-commons-fileupload.new/jakarta-commons-fileupload.changes
       2017-09-20 17:08:59.568790380 +0200
@@ -1,0 +2,6 @@
+Mon Sep 18 11:22:00 UTC 2017 - [email protected]
+
+- Fix build with jdk9: specify java source and target 1.6
+- Clean spec file and fix rpmlint warnings
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ jakarta-commons-fileupload.spec ++++++
--- /var/tmp/diff_new_pack.tGj9bn/_old  2017-09-20 17:09:00.104714938 +0200
+++ /var/tmp/diff_new_pack.tGj9bn/_new  2017-09-20 17:09:00.104714938 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package jakarta-commons-fileupload
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,6 +35,7 @@
 Patch3:         
jakarta-commons-fileupload-CVE-2014-0050-DOS-buffer-overflow.patch
 BuildRequires:  ant
 BuildRequires:  ant-junit
+BuildRequires:  fdupes
 BuildRequires:  jakarta-commons-io
 BuildRequires:  java-devel
 BuildRequires:  javapackages-tools
@@ -48,7 +49,6 @@
 # FIXME: correct on update of fileuploads
 Provides:       %{short_name} = 1.1.2
 Obsoletes:      %{short_name} <= 1.1.1
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
 %description
@@ -61,8 +61,7 @@
 %package        javadoc
 Summary:        Javadoc for jakarta-commons-fileupload
 Group:          Development/Libraries/Java
-# FIXME: use proper Requires(pre/post/preun/...)
-PreReq:         coreutils
+Requires(pre):  coreutils
 
 %description    javadoc
 The javax.servlet package lacks support for rfc 1867, html file upload.
@@ -86,7 +85,7 @@
 export CLASSPATH="$(build-classpath commons-io junit portlet-1.0-api \
     servletapi5 
xerces-j2-xml-apis):${PWD}/target/classes:${PWD}/target/test-classes"
 ant \
-    -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \
+    -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \
     -Dbuild.sysclasspath=only \
     -Dfinal.name=%{name}-%{version} \
     -Dservletapi.javadoc=%{_javadocdir}/servletapi5 \
@@ -112,14 +111,13 @@
 # javadoc
 mkdir -p %{buildroot}%{_javadocdir}/%{name}
 cp -pr dist/docs/api/* %{buildroot}%{_javadocdir}/%{name}
+%fdupes -s %{buildroot}%{_javadocdir}/%{name}
 
 %files
-%defattr(0644,root,root,0755)
 %doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
 %{_javadir}/*
 
 %files javadoc
-%defattr(0644,root,root,0755)
 %doc %{_javadocdir}/%{name}
 
 %changelog


Reply via email to