Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package apache-commons-email for
openSUSE:Factory checked in at 2026-06-23 17:39:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-email (Old)
and /work/SRC/openSUSE:Factory/.apache-commons-email.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache-commons-email"
Tue Jun 23 17:39:01 2026 rev:10 rq:1361194 version:1.6.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/apache-commons-email/apache-commons-email.changes
2024-02-20 21:15:47.993165314 +0100
+++
/work/SRC/openSUSE:Factory/.apache-commons-email.new.1956/apache-commons-email.changes
2026-06-23 17:41:50.884334719 +0200
@@ -1,0 +2,77 @@
+Fri Jun 19 13:50:01 UTC 2026 - Fridrich Strba <[email protected]>
+
+- Update to version 1.6.0
+ * New features:
+ + Add github/codeql-action #75
+ + Add Maven plugin JapiCmp and remove Clirr
+ + EMAIL-176: Add Automatic-Module-Name MANIFEST entry for Java 9
+ compatibility.
+ + EMAIL-207: Add InputStreamDataSource
+ + EMAIL-207: Don't waste memory in
+ MimeMessageParser#createDataSource()
+ + Add EmailConstants.SOCKET_TIMEOUT and deprecate
+ SOCKET_TIMEOUT_MS
+ + Add Email.setSocketConnectionTimeout(Duration) and deprecate
+ setSocketConnectionTimeout(int)
+ + Add Email.setSocketTimeout(Duration) and deprecate
+ setSocketTimeout(int)
+ + Add PathDataSource
+ + Add DataSourcePathResolver
+ + Add MimeMessageUtils.createMimeMessage(Session, Path,
+ OpenOption...)
+ + Add MultiPartEmail.attach(Path, OpenOption...)
+ * Fixed Bugs:
+ + EMAIL-190: Fix broken JDK 9 build by updating "easymock" and
+ other dependencies
+ + Use JUnit 5 APIs #106, #108, #109, #114
+ + [StepSecurity] ci: Harden GitHub Actions #149
+ + Better use of JUnit APIs #158
+ + EMAIL-205: Update conversion code #153
+ + Email.setBounceAddress no longer accepts invalid email
+ addresses
+ + Throw more specific exceptions in MimeMessageParser #11
+ + Email.setMailSession(Session) throws the more precise
+ exception NullPointerException
+ + Avoid possible NullPointerException in
+ DataSourceClassPathResolver.resolve(String, boolean)
+ + Complete half-baked test DataSourceUrlResolverTest
+ .testResolvingHttpNonLenient()
+ + EMAIL-206: Use SharedByteArrayInputStream for memory usage
+ #157
+ + Migrate to JUnit 5 #186
+ + EMAIL-174: Bump javax.mail dependency to 1.6.1, so that i18n
+ is supported for email addresses
+ + Add missing getters and setters in EMail and subclasses;
+ deprecate access to protected instance variables
+ + DataSourceUrlResolver.resolve(String, boolean) leaks
+ InputStreams
+ + Use US-ASCII in MimeMessageUtils.createMimeMessage(Session,
+ String)
+ * Changes:
+ + Bump org.slf4j:slf4j-jdk14 from 1.7.7 to 2.0.9 #165
+ + Bump mockito-core from 4.11.0 to 5.8.0 #187
+ + Bump actions/cache from 2 to 3.0.11 #39, #48, #60, #70, #102
+ + Bump actions/checkout from 1 to 3.2.0, #25 #33, #67, #99, #117
+ + Bump actions/setup-java from 1.4.0 to v3.6.0 #30, #74, #103
+ + Bump actions/upload-artifact from 3.1.0 to 3.1.1 #110
+ + EMAIL-177: Bump from Java 6 to 7
+ + Bump from Java 7 to 8
+ + EMAIL-183: Bump javax.mail:1.6.1 to jakarta.mail:1.6.7
+ + Bump commons-parent from 50 to 65, #118, #128
+ + Bump spotbugs-maven-plugin from 4.0.0 to 4.7.2 #18
+ + Bump spotbugs from 4.0.6 to 4.7.2 #40
+ + Bump junit from 4.13 to 4.13.2 #32
+ + Bump commons-release-plugin from 1.0 to 1.7 #23
+ + Bump maven-pmd-plugin from 3.13.0 to 3.19.0 #34, #72, #79, #94
+ + Bump tests commons-io:commons-io 2.6 to 2.15.1
+ + Bump jacoco from 0.8.6 to 0.8.8; fixes jacoco on Java 17
+ + Bump org.easymock:easymock from 4.2 to 5.2.0, #107, #164
+ + Bump commons-release-plugin from 1.7 to 1.8.1 #73, #184
+ + Bump maven-checkstyle-plugin from 3.1.2 to 3.2.0 #87
+- Distribute as a maven artifact
+- Removed patches:
+ * commons-email-1.5-javadoc.patch
+ * commons-email-1.5-sourcetarget.patch
+ + not needed with this version.
+
+-------------------------------------------------------------------
Old:
----
build.xml.tar.bz2
commons-email-1.5-javadoc.patch
commons-email-1.5-sourcetarget.patch
commons-email-1.5-src.tar.gz
New:
----
_scmsync.obsinfo
apache-commons-email-build.xml
build.specials.obscpio
commons-email-1.6.0-src.tar.gz
----------(Old B)----------
Old:- Removed patches:
* commons-email-1.5-javadoc.patch
* commons-email-1.5-sourcetarget.patch
Old: * commons-email-1.5-javadoc.patch
* commons-email-1.5-sourcetarget.patch
+ not needed with this version.
----------(Old E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache-commons-email.spec ++++++
--- /var/tmp/diff_new_pack.y9vLh3/_old 2026-06-23 17:41:53.428423901 +0200
+++ /var/tmp/diff_new_pack.y9vLh3/_new 2026-06-23 17:41:53.428423901 +0200
@@ -1,7 +1,7 @@
#
-# spec file
+# spec file for package apache-commons-email
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,24 +19,20 @@
%global base_name email
%global short_name commons-%{base_name}
Name: apache-%{short_name}
-Version: 1.5
+Version: 1.6.0
Release: 0
Summary: Apache Commons Email Package
License: Apache-2.0
Group: Development/Libraries/Java
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
-Patch1: commons-email-1.5-javadoc.patch
+Source0:
https://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
+Source1: %{name}-build.xml
BuildRequires: ant
BuildRequires: fdupes
BuildRequires: glassfish-activation-api
BuildRequires: java-devel >= 1.8
BuildRequires: javamail
-BuildRequires: javapackages-tools
-Requires: java >= 1.8
-Requires: javamail
+BuildRequires: javapackages-local >= 6
BuildArch: noarch
%description
@@ -51,27 +47,36 @@
This package contains the API documentation for %{name}.
%prep
-%autosetup -p1 -n %{short_name}-%{version}-src -a1
+%setup -q -n %{short_name}-%{version}-src
+cp %{SOURCE1} build.xml
+
+%pom_add_dep javax.activation:javax.activation-api::1.2.0
%build
-ant -Dmaven.mode.offline=true -Dmaven.test.skip=true \
- -lib %{_javadir} javadoc package
+mkdir -p lib
+build-jar-repository -s lib glassfish-activation-api javamail
+ant package javadoc
%install
# jars
-install -d -m 0755 %{buildroot}%{_javadir}
-install -m 644 target/%{short_name}-%{version}.jar
%{buildroot}%{_javadir}/%{name}.jar
+install -dm 0755 %{buildroot}%{_javadir}
+install -pm 0644 target/%{short_name}-%{version}.jar
%{buildroot}%{_javadir}/%{name}.jar
ln -sf %{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar
+# pom
+install -dm 0755 %{buildroot}%{_mavenpomdir}
+%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
+%add_maven_depmap %{name}.pom %{name}.jar
+
# javadoc
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}
%fdupes -s %{buildroot}%{_javadocdir}/%{name}
-%files
+%files -f .mfiles
+%{_javadir}/%{short_name}.jar
%license LICENSE.txt NOTICE.txt
%doc RELEASE-NOTES.txt
-%{_javadir}/*
%files javadoc
%license LICENSE.txt NOTICE.txt
++++++ _scmsync.obsinfo ++++++
mtime: 1782144800
commit: 5ea7d32d0b62b009985d5331ac7f62a385294b4a25133779cfae6b04a2c5416a
url: https://src.opensuse.org/java-packages/apache-commons-email
revision: 5ea7d32d0b62b009985d5331ac7f62a385294b4a25133779cfae6b04a2c5416a
projectscmsync: https://src.opensuse.org/java-packages/_ObsPrj
++++++ apache-commons-email-build.xml ++++++
<?xml version="1.0" encoding="UTF-8"?>
<project name="commons-email" default="package" basedir=".">
<!-- ======================================================================
-->
<!-- Build environment properties
-->
<!-- ======================================================================
-->
<property file="build.properties" />
<property name="project.groupId" value="org.apache.commons" />
<property name="project.artifactId" value="commons-email" />
<property name="spec.version" value="1.6" />
<property name="project.version" value="${spec.version}.0" />
<property name="compiler.release" value="8" />
<property name="compiler.source" value="1.${compiler.release}" />
<property name="compiler.target" value="${compiler.source}" />
<property name="build.finalName"
value="${project.artifactId}-${project.version}" />
<property name="build.dir" value="target"/>
<property name="build.outputDir" value="${build.dir}/classes"/>
<property name="build.srcDir" value="src/main/java"/>
<property name="build.resourceDir" value="src/main/resources"/>
<property name="build.resourceDir.1" value="."/>
<property name="reporting.outputDirectory" value="${build.dir}/site"/>
<!-- ======================================================================
-->
<!-- Defining classpaths
-->
<!-- ======================================================================
-->
<path id="build.classpath">
<fileset dir="lib">
<include name="**/*.jar">
</include>
</fileset>
</path>
<!-- ======================================================================
-->
<!-- Cleaning up target
-->
<!-- ======================================================================
-->
<target name="clean" description="Clean the output directory">
<delete dir="${build.dir}"/>
</target>
<!-- ======================================================================
-->
<!-- Compilation target
-->
<!-- ======================================================================
-->
<target name="compile" description="Compile the code">
<mkdir dir="${build.outputDir}"/>
<javac destdir="${build.outputDir}"
encoding="UTF-8"
nowarn="false"
debug="true"
optimize="false"
deprecation="true"
target="1.8"
verbose="false"
fork="false"
source="1.8">
<classpath refid="build.classpath"/>
<src>
<pathelement location="${build.srcDir}"/>
</src>
</javac>
<copy todir="${build.outputDir}">
<fileset dir="${build.resourceDir}"/>
</copy>
<mkdir dir="${build.outputDir}/META-INF"/>
<copy todir="${build.outputDir}/META-INF">
<fileset dir="${build.resourceDir.1}">
<include name="NOTICE.txt"/>
<include name="LICENSE.txt"/>
<include name="NOTICE"/>
<include name="LICENSE"/>
</fileset>
</copy>
</target>
<!-- ======================================================================
-->
<!-- Javadoc target
-->
<!-- ======================================================================
-->
<target name="javadoc" description="Generates the Javadoc of the application">
<javadoc sourcepath="${build.srcDir}"
packagenames="*"
destdir="${reporting.outputDirectory}/apidocs"
access="protected"
verbose="false"
encoding="UTF-8"
version="true"
use="true"
author="true"
splitindex="false"
nodeprecated="false"
nodeprecatedlist="false"
notree="false"
noindex="false"
nohelp="false"
nonavbar="false"
serialwarn="false"
docencoding="UTF-8"
source="1.8"
linksource="true"
breakiterator="false">
<classpath refid="build.classpath"/>
</javadoc>
</target>
<!-- ======================================================================
-->
<!-- Package target
-->
<!-- ======================================================================
-->
<target name="package" depends="compile" description="Package the
application">
<jar jarfile="${build.dir}/${build.finalName}.jar"
compress="true"
index="false"
basedir="${build.outputDir}"
excludes="**/package.html">
<manifest>
<attribute name="Automatic-Module-Name"
value="org.apache.commons.mail"/>
<attribute name="Bundle-Description" value="Apache Commons
Email provides an API for sending email, simplifying the JavaMail API."/>
<attribute name="Bundle-DocURL"
value="https://commons.apache.org/proper/commons-email/"/>
<attribute name="Bundle-License"
value="https://www.apache.org/licenses/LICENSE-2.0.txt"/>
<attribute name="Bundle-ManifestVersion" value="2"/>
<attribute name="Bundle-Name" value="Apache Commons Email"/>
<attribute name="Bundle-SymbolicName"
value="${project.groupId}.${project.artifactId}"/>
<attribute name="Bundle-Vendor" value="The Apache Software
Foundation"/>
<attribute name="Bundle-Version" value="${project.version}"/>
<attribute name="Export-Package"
value="org.apache.commons.mail.activation;version="${project.version}";uses:="javax.activation",org.apache.commons.mail.resolver;version="${project.version}";uses:="javax.activation,org.apache.commons.mail",org.apache.commons.mail.util;version="${project.version}";uses:="javax.activation,javax.mail,javax.mail.internet",org.apache.commons.mail;version="${project.version}";uses:="javax.activation,javax.mail,javax.mail.internet,javax.naming""/>
<attribute name="Implementation-Title" value="Apache Commons
Email"/>
<attribute name="Implementation-Vendor" value="The Apache
Software Foundation"/>
<attribute name="Implementation-Version"
value="${project.version}"/>
<attribute name="Import-Package"
value="javax.activation,javax.mail,javax.mail.internet,javax.mail.util,javax.naming"/>
<attribute name="Include-Resource"
value="META-INF/mime.types=src/main/resources/META-INF/mime.types,META-INF/LICENSE.txt=LICENSE.txt,META-INF/NOTICE.txt=NOTICE.txt"/>
<attribute name="Require-Capability"
value="osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=${compiler.target}))""/>
<attribute name="Specification-Title" value="Apache Commons
Email"/>
<attribute name="Specification-Vendor" value="The Apache
Software Foundation"/>
<attribute name="Specification-Version"
value="${spec.version}"/>
</manifest>
</jar>
</target>
<!-- ======================================================================
-->
<!-- A dummy target for the package named after the type it creates
-->
<!-- ======================================================================
-->
<target name="jar" depends="package" description="Builds the jar for the
application"/>
</project>
++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore 2026-06-22 18:13:20.000000000 +0200
@@ -0,0 +1 @@
+.osc
++++++ commons-email-1.5-src.tar.gz -> commons-email-1.6.0-src.tar.gz ++++++
++++ 20253 lines of diff (skipped)