Hello community, here is the log from the commit of package classpathx-mail for openSUSE:Factory checked in at 2018-07-24 17:31:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/classpathx-mail (Old) and /work/SRC/openSUSE:Factory/.classpathx-mail.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "classpathx-mail" Tue Jul 24 17:31:50 2018 rev:19 rq:620782 version:1.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/classpathx-mail/classpathx-mail.changes 2017-09-13 22:24:39.463564345 +0200 +++ /work/SRC/openSUSE:Factory/.classpathx-mail.new/classpathx-mail.changes 2018-07-24 17:31:52.544023325 +0200 @@ -1,0 +2,7 @@ +Wed May 16 09:19:57 UTC 2018 - fst...@suse.com + +- Build with source and target 8 to prepare for a possible removal + of 1.6 compatibility +- Run fdupes on the documentation + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ classpathx-mail.spec ++++++ --- /var/tmp/diff_new_pack.rYyhqr/_old 2018-07-24 17:31:53.200024153 +0200 +++ /var/tmp/diff_new_pack.rYyhqr/_new 2018-07-24 17:31:53.204024159 +0200 @@ -1,7 +1,7 @@ # # spec file for package classpathx-mail # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -22,7 +22,7 @@ Version: 1.1.2 Release: 0 Summary: GNU JavaMail is a free implementation of the JavaMail API specification -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Development/Libraries/Java Url: http://java.sun.com/products/javamail/ Source0: http://ftp.gnu.org/gnu/classpathx/mail-%{version}.tar.gz @@ -34,8 +34,9 @@ # see bz157685 Patch4: classpath-inetlib-docbuild.patch BuildRequires: ant +BuildRequires: fdupes BuildRequires: jaf >= 1.0 -BuildRequires: java-devel >= 1.6 +BuildRequires: java-devel >= 1.8 BuildRequires: java-sasl BuildRequires: javapackages-tools BuildRequires: jce @@ -98,7 +99,7 @@ # build inetlib pushd inetlib-%{inetlibver} export CLASSPATH=%(build-classpath jce sasl) - ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 -Dj2se.apidoc=%{_javadocdir}/java inetlib.jar doc + ant -Dant.build.javac.source=8 -Dant.build.javac.target=8 -Dj2se.apidoc=%{_javadocdir}/java inetlib.jar doc popd mkdir classes cp -r inetlib-%{inetlibver}/classes/org classes @@ -107,7 +108,7 @@ ant \ -Dj2se.apidoc=%{_javadocdir}/java \ -Djaf.apidoc=%{_javadocdir}/jaf \ - -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \ + -Dant.build.javac.source=8 -Dant.build.javac.target=8 \ dist javadoc # build monolithic mkdir monolithic @@ -136,6 +137,7 @@ ln -s classpathx-mail-%{jmailver}-monolithic-%{version}.jar %{buildroot}%{_javadir}/classpathx-mail-%{jmailver}-monolithic.jar install -dm 755 %{buildroot}%{_javadocdir}/%{name} cp -pR docs/* %{buildroot}%{_javadocdir}/%{name} +%fdupes -s %{buildroot}%{_javadocdir}/%{name} # javamail alternatives mkdir -p %{buildroot}%{_sysconfdir}/alternatives/