Hello community,
here is the log from the commit of package apache-commons-email for
openSUSE:Factory checked in at 2017-09-14 21:18:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-email (Old)
and /work/SRC/openSUSE:Factory/.apache-commons-email.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache-commons-email"
Thu Sep 14 21:18:59 2017 rev:5 rq:526056 version:1.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/apache-commons-email/apache-commons-email.changes
2017-08-19 10:56:36.986774740 +0200
+++
/work/SRC/openSUSE:Factory/.apache-commons-email.new/apache-commons-email.changes
2017-09-14 21:19:03.762087425 +0200
@@ -1,0 +2,7 @@
+Thu Sep 14 11:34:08 UTC 2017 - [email protected]
+
+- Added patch:
+ * commons-email-1.5-sourcetarget.patch
+ - Specify java source and target 1.6 and fix jdk9 build
+
+-------------------------------------------------------------------
New:
----
commons-email-1.5-sourcetarget.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache-commons-email.spec ++++++
--- /var/tmp/diff_new_pack.pts210/_old 2017-09-14 21:19:05.009911802 +0200
+++ /var/tmp/diff_new_pack.pts210/_new 2017-09-14 21:19:05.013911239 +0200
@@ -27,6 +27,7 @@
Url: http://commons.apache.org/%{base_name}/
Source0:
http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
Source1: build.xml.tar.bz2
+Patch0: commons-email-1.5-sourcetarget.patch
BuildRequires: ant
BuildRequires: javamail
BuildRequires: javapackages-tools
@@ -47,6 +48,7 @@
%prep
%setup -q -n %{short_name}-%{version}-src -a1
+%patch0 -p1
%build
ant -Dmaven.mode.offline=true -Dmaven.test.skip=true \
++++++ commons-email-1.5-sourcetarget.patch ++++++
--- commons-email-1.5-src/maven-build.properties 2017-09-14
13:26:34.595333351 +0200
+++ commons-email-1.5-src/maven-build.properties 2017-09-14
13:29:23.683333989 +0200
@@ -19,7 +19,7 @@
maven.test.reports=${maven.build.dir}/test-reports
commons.osgi.export=org.apache.commons.*;version\=1.5
commons.release.name=commons-email-1.5
-maven.compile.target=1.5
+maven.compile.target=1.6
maven.repo.local=${user.home}/.m2/repository
maven.build.dir=target
maven.build.outputDir=${maven.build.dir}/classes
@@ -33,7 +33,7 @@
maven.build.srcDir.0=src/main/java
commons.rc.version=RC3
maven.build.testResourceDir.0=src/test
-maven.compile.source=1.5
+maven.compile.source=1.6
JAVA_1_6_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0
commons.deployment.protocol=scp
project.build.outputDirectory=${maven.build.outputDir}
--- commons-email-1.5-src/maven-build.xml 2017-09-14 13:32:38.195119590
+0200
+++ commons-email-1.5-src/maven-build.xml 2017-09-14 13:33:14.279119727
+0200
@@ -82,10 +82,10 @@
debug="true"
optimize="false"
deprecation="true"
- target="1.5"
+ target="1.6"
verbose="false"
fork="false"
- source="1.5">
+ source="1.6">
<src>
<pathelement location="${maven.build.srcDir.0}"/>
</src>
@@ -225,7 +225,7 @@
nonavbar="false"
serialwarn="false"
charset="ISO-8859-1"
- source="1.5"
+ source="1.6"
linksource="true"
breakiterator="false">
<link href="http://docs.oracle.com/javase/8/docs/api/"/>