Fridrich Strba 2023-09-05 13:10:13 +00:00 committed by Git OBS Bridge
parent 0979209338
commit a1cae13252
3 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- sisu-0.3.5/sisu-inject/org.eclipse.sisu.inject/src/org/eclipse/sisu/space/AbstractSisuIndex.java 2023-09-05 15:00:59.314655718 +0200
+++ sisu-0.3.5/sisu-inject/org.eclipse.sisu.inject/src/org/eclipse/sisu/space/AbstractSisuIndex.java 2023-09-05 15:04:15.889547023 +0200
@@ -158,7 +158,7 @@
final BufferedWriter writer = new BufferedWriter( getWriter( INDEX_FOLDER + name ) );
try
{
- for ( final String line : table )
+ for ( final String line : new java.util.TreeSet<String>( table ) )
{
writer.write( line );
writer.newLine();

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Sep 5 13:09:17 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Added patch:
* sisu-reproducible-index.patch
+ Sort the classes by name in META-INF/sisu/javax.inject.Named
to make the output reproducible
-------------------------------------------------------------------
Wed Apr 27 13:46:14 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package sisu
#
# 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
@ -34,6 +34,7 @@ Patch0: %{name}-OSGi-import-guava.patch
Patch1: %{name}-no-dependency-on-glassfish-servlet-api.patch
Patch2: %{name}-ignored-tests.patch
Patch3: %{name}-osgi-api.patch
Patch4: %{name}-reproducible-index.patch
BuildRequires: ant
BuildRequires: atinject
BuildRequires: cdi-api
@ -97,6 +98,7 @@ cp %{SOURCE101} sisu-plexus/pom.xml
%patch1
%patch2
%patch3
%patch4 -p1
%pom_remove_dep :servlet-api sisu-inject