Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package apache-commons-collections4 for 
openSUSE:Factory checked in at 2023-10-27 22:27:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-collections4 (Old)
 and      /work/SRC/openSUSE:Factory/.apache-commons-collections4.new.17445 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache-commons-collections4"

Fri Oct 27 22:27:03 2023 rev:3 rq:1120322 version:4.4

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/apache-commons-collections4/apache-commons-collections4.changes
  2022-03-28 16:59:39.992896453 +0200
+++ 
/work/SRC/openSUSE:Factory/.apache-commons-collections4.new.17445/apache-commons-collections4.changes
       2023-10-27 22:27:05.041073655 +0200
@@ -1,0 +2,18 @@
+Wed Oct 25 14:24:18 UTC 2023 - Fridrich Strba <[email protected]>
+
+- Update to upstream version 4.4
+  * Changes
+    + Updates the platform requirement from Java 6 to 8
+    + Add Automatic-Module-Name MANIFEST entry for Java 9
+      compatibility
+    + Added a few new APIs.
+  * Builds with java 21 out of the box
+  * Generated ant build system with maven-ant-plugin in order to
+    build with ant like before.
+- Removed patches:
+  * commons-collections4-4.1-bundle.patch
+  * commons-collections4-4.1-javadoc.patch
+  * commons-collections4-4.1-jdk11.patch
+    + All changes factored into the generated build.xml
+
+-------------------------------------------------------------------

Old:
----
  commons-collections4-4.1-bundle.patch
  commons-collections4-4.1-javadoc.patch
  commons-collections4-4.1-jdk11.patch
  commons-collections4-4.1-src.tar.gz

New:
----
  apache-commons-collections4-build.xml
  commons-collections4-4.4-src.tar.gz

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

Other differences:
------------------
++++++ apache-commons-collections4.spec ++++++
--- /var/tmp/diff_new_pack.3TpQ0o/_old  2023-10-27 22:27:05.825102410 +0200
+++ /var/tmp/diff_new_pack.3TpQ0o/_new  2023-10-27 22:27:05.825102410 +0200
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,24 +20,19 @@
 %define short_name      commons-%{base_name}
 %bcond_with tests
 Name:           apache-%{short_name}
-Version:        4.1
+Version:        4.4
 Release:        0
 Summary:        Extension of the Java Collections Framework
 License:        Apache-2.0
 Group:          Development/Libraries/Java
-URL:            http://commons.apache.org/proper/commons-collections/
+URL:            https://commons.apache.org/proper/commons-collections/
 Source0:        
http://archive.apache.org/dist/commons/collections/source/commons-collections4-%{version}-src.tar.gz
-Patch0:         commons-collections4-4.1-jdk11.patch
-Patch1:         commons-collections4-4.1-bundle.patch
-Patch2:         commons-collections4-4.1-javadoc.patch
+Source1:        %{name}-build.xml
 BuildRequires:  ant
 BuildRequires:  fdupes
-BuildRequires:  javapackages-local
+BuildRequires:  java-devel >= 1.8
+BuildRequires:  javapackages-local >= 6
 BuildArch:      noarch
-%if %{with tests}
-BuildRequires:  ant-junit
-BuildRequires:  easymock
-%endif
 
 %description
 Commons-Collections seek to build upon the JDK classes by providing
@@ -52,22 +47,10 @@
 
 %prep
 %setup -q -n commons-collections4-%{version}-src
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-
-%pom_remove_parent
+cp %{SOURCE1} build.xml
 
 %build
-%{ant} \
-  -Dcompile.source=8 -Dcompile.target=8 \
-%if %{with tests}
-  -Djunit.jar=$(build-classpath junit) \
-  -Dhamcrest.jar=$(build-classpath hamcrest/core) \
-  -Deasymock.jar=$(build-classpath easymock) \
-  test \
-%endif
-  jar javadoc
+%{ant} jar javadoc
 
 %install
 # jar
@@ -76,11 +59,11 @@
 ln -sf %{name}.jar %{buildroot}%{_javadir}/%{short_name}.jar
 # pom
 install -dm 0755 %{buildroot}%{_mavenpomdir}
-install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
+%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
 %add_maven_depmap %{name}.pom %{name}.jar
 # javadoc
 install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
-cp -pr target/apidocs/* %{buildroot}%{_javadocdir}/%{name}/
+cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/
 %fdupes -s %{buildroot}%{_javadocdir}
 
 %files -f .mfiles

++++++ apache-commons-collections4-build.xml ++++++
<?xml version="1.0" encoding="UTF-8"?>

<project name="commons-collections4" default="package" basedir=".">

  <!-- ====================================================================== 
-->
  <!-- Build environment properties                                           
-->
  <!-- ====================================================================== 
-->

  <property file="build.properties"/>
  <property name="project.groupId" value="org.apache.commons"/>
  <property name="project.artifactId" value="commons-collections4"/>
  <property name="project.version" value="4.4"/>
  <property name="bundle.version" value="${project.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="."/>

  <property name="reporting.outputDirectory" value="${build.dir}/site"/>

  <!-- ====================================================================== 
-->
  <!-- Defining classpaths                                                    
-->
  <!-- ====================================================================== 
-->

  <path id="build.classpath"/>

  <!-- ====================================================================== 
-->
  <!-- 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="iso-8859-1" 
           nowarn="false" 
           debug="true" 
           optimize="false" 
           deprecation="true" 
           release="${compiler.release}" 
           target="${compiler.target}" 
           verbose="false" 
           fork="false" 
           source="${compiler.source}">
      <src>
        <pathelement location="${build.srcDir}"/>
      </src>
      <classpath refid="build.classpath"/>
    </javac>
    <mkdir dir="${build.outputDir}/META-INF"/>
    <copy todir="${build.outputDir}/META-INF">
      <fileset dir="${build.resourceDir}">
        <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="iso-8859-1" 
             version="true" 
             use="true" 
             author="true" 
             splitindex="false" 
             nodeprecated="false" 
             nodeprecatedlist="false" 
             notree="false" 
             noindex="false" 
             nohelp="false" 
             nonavbar="false" 
             serialwarn="false" 
             source="${compiler.source}" 
             linksource="true" 
             breakiterator="false">
    </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.collections4"/>
                <attribute name="Bundle-Description" value="The Apache Commons 
Collections package contains types that extend and augment the Java Collections 
Framework."/>
                <attribute name="Bundle-DocURL" 
value="https://commons.apache.org/proper/commons-collections/"/>
                <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 
Collections"/>
                <attribute name="Bundle-SymbolicName" 
value="${project.groupId}.${project.artifactId}"/>
                <attribute name="Bundle-Vendor" value="The Apache Software 
Foundation"/>
                <attribute name="Bundle-Version" value="${bundle.version}"/>
                <attribute name="Export-Package" 
value="org.apache.commons.collections4.bag;version=&quot;${project.version}&quot;,org.apache.commons.collections4.bidimap;version=&quot;${project.version}&quot;,org.apache.commons.collections4.collection;version=&quot;${project.version}&quot;,org.apache.commons.collections4.comparators;version=&quot;${project.version}&quot;,org.apache.commons.collections4.functors;version=&quot;${project.version}&quot;,org.apache.commons.collections4.iterators;version=&quot;${project.version}&quot;,org.apache.commons.collections4.keyvalue;version=&quot;${project.version}&quot;,org.apache.commons.collections4.list;version=&quot;${project.version}&quot;,org.apache.commons.collections4.map;version=&quot;${project.version}&quot;,org.apache.commons.collections4.multimap;version=&quot;${project.version}&quot;,org.apache.commons.collections4.multiset;version=&quot;${project.version}&quot;,org.apache.commons.collections4.properties;version=&quot;${project.version}&quot;,org
 
.apache.commons.collections4.queue;version=&quot;${project.version}&quot;,org.apache.commons.collections4.sequence;version=&quot;${project.version}&quot;,org.apache.commons.collections4.set;version=&quot;${project.version}&quot;,org.apache.commons.collections4.splitmap;version=&quot;${project.version}&quot;,org.apache.commons.collections4.trie.analyzer;version=&quot;${project.version}&quot;,org.apache.commons.collections4.trie;version=&quot;${project.version}&quot;,org.apache.commons.collections4;version=&quot;${project.version}&quot;"/>
                <attribute name="Implementation-Title" value="Apache Commons 
Collections"/>
                <attribute name="Implementation-Vendor" value="The Apache 
Software Foundation"/>
                <attribute name="Implementation-Version" 
value="${project.version}"/>
                <attribute name="Import-Package" value="org.w3c.dom"/>
                <attribute name="Include-Resource" 
value="META-INF/LICENSE.txt=LICENSE.txt,META-INF/NOTICE.txt=NOTICE.txt"/>
                <attribute name="Require-Capability" 
value="osgi.ee;filter:=&quot;(&amp;(osgi.ee=JavaSE)(version=${compiler.target}))&quot;"/>
                <attribute name="Specification-Title" value="Apache Commons 
Collections"/>
                <attribute name="Specification-Vendor" value="The Apache 
Software Foundation"/>
                <attribute name="Specification-Version" 
value="${project.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>

++++++ commons-collections4-4.1-src.tar.gz -> 
commons-collections4-4.4-src.tar.gz ++++++
++++ 252633 lines of diff (skipped)

Reply via email to