commit apache-commons-collections4 for openSUSE:Factory

2023-10-27 Thread Source-Sync
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 
+
+- 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 ++




  
  
  

  
  
  
  
  

  
  
  

  
  
  
  
  

  

  
  
  

  

  
  
  

  

  

  
  
  

  


  

  
  



  




  

  

  
  
  

  


  

  
  
  

  

  


https://commons.apache.org/proper/commons-collections/"/>
  

commit apache-commons-collections4 for openSUSE:Factory

2022-03-28 Thread Source-Sync
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 2022-03-28 16:59:04

Comparing /work/SRC/openSUSE:Factory/apache-commons-collections4 (Old)
 and  /work/SRC/openSUSE:Factory/.apache-commons-collections4.new.1900 (New)


Package is "apache-commons-collections4"

Mon Mar 28 16:59:04 2022 rev:2 rq:962922 version:4.1

Changes:

--- 
/work/SRC/openSUSE:Factory/apache-commons-collections4/apache-commons-collections4.changes
  2019-03-22 14:59:02.777881479 +0100
+++ 
/work/SRC/openSUSE:Factory/.apache-commons-collections4.new.1900/apache-commons-collections4.changes
2022-03-28 16:59:39.992896453 +0200
@@ -1,0 +2,5 @@
+Fri Mar 18 18:14:43 UTC 2022 - Fridrich Strba 
+
+- Build with source/target levels 8
+
+---



Other differences:
--
++ apache-commons-collections4.spec ++
--- /var/tmp/diff_new_pack.dhcHFy/_old  2022-03-28 16:59:40.520897170 +0200
+++ /var/tmp/diff_new_pack.dhcHFy/_new  2022-03-28 16:59:40.528897181 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package apache-commons-collections4
+# spec file
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -60,6 +60,7 @@
 
 %build
 %{ant} \
+  -Dcompile.source=8 -Dcompile.target=8 \
 %if %{with tests}
   -Djunit.jar=$(build-classpath junit) \
   -Dhamcrest.jar=$(build-classpath hamcrest/core) \