diff --git a/0002-Ensure-stable-order-of-Sisu-component-list.patch b/0002-Ensure-stable-order-of-Sisu-component-list.patch new file mode 100644 index 0000000..2dbee24 --- /dev/null +++ b/0002-Ensure-stable-order-of-Sisu-component-list.patch @@ -0,0 +1,38 @@ +From 1338780416e7f046b72d5d269bf6167e5281f66e Mon Sep 17 00:00:00 2001 +From: Marian Koncek +Date: Fri, 2 Feb 2024 14:05:08 +0100 +Subject: [PATCH] Ensure stable order of Sisu component list Upstream related + fix: + https://github.com/fedora-java/javapackages-bootstrap/commit/d18cc7bd703f6a53baeb6145ac0c876d56cef46a + +--- + mbi/cdc/src/org/fedoraproject/mbi/tool/cdc/CdcTool.java | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/mbi/cdc/src/org/fedoraproject/mbi/tool/cdc/CdcTool.java b/mbi/cdc/src/org/fedoraproject/mbi/tool/cdc/CdcTool.java +index 6965b0c..bf22268 100644 +--- a/mbi/cdc/src/org/fedoraproject/mbi/tool/cdc/CdcTool.java ++++ b/mbi/cdc/src/org/fedoraproject/mbi/tool/cdc/CdcTool.java +@@ -20,8 +20,8 @@ import java.lang.annotation.Annotation; + import java.lang.reflect.Field; + import java.nio.file.Files; + import java.nio.file.Path; +-import java.util.ArrayList; +-import java.util.List; ++import java.util.Set; ++import java.util.TreeSet; + import java.util.stream.Collectors; + + import javax.inject.Named; +@@ -62,7 +62,7 @@ public class CdcTool + + private Element plexusComponents; + +- private List sisuComponents = new ArrayList<>(); ++ private Set sisuComponents = new TreeSet<>(); + + @Override + public void initialize() +-- +2.43.0 + diff --git a/javapackages-bootstrap.spec b/javapackages-bootstrap.spec index 201634e..869ead3 100644 --- a/javapackages-bootstrap.spec +++ b/javapackages-bootstrap.spec @@ -17,7 +17,7 @@ Name: javapackages-bootstrap Version: 1.7.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A means of bootstrapping Java Packages Tools # For detailed info see the file javapackages-bootstrap-PACKAGE-LICENSING License: ASL 2.0 and ASL 1.1 and (ASL 2.0 or EPL-2.0) and (EPL-2.0 or GPLv2 with exceptions) and MIT and BSD with advertising and BSD and EPL-1.0 and EPL-2.0 and CDDL-1.0 and xpp and CC0 and Public Domain @@ -150,6 +150,7 @@ Source1107: xmvn.tar.xz Source1108: xz-java.tar.xz Patch0: 0001-Bind-to-OpenJDK-17-for-runtime.patch +Patch1: 0002-Ensure-stable-order-of-Sisu-component-list.patch Provides: bundled(ant) = 1.10.12 Provides: bundled(apache-parent) = 26 @@ -308,6 +309,7 @@ do done %patch0 -p1 +%patch1 -p1 for patch_path in patches/*/* do @@ -361,6 +363,9 @@ echo '%%jpb_env PATH=/usr/libexec/javapackages-bootstrap:$PATH' >%{buildroot}%{_ %doc AUTHORS %changelog +* Fri Feb 02 2024 Marián Konček - 1.7.1-3 +- Ensure stable order of Sisu component list + * Thu Jul 21 2022 Fedora Release Engineering - 1.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild