Accepting request 1109043 from Java:packages
reproducible index OBS-URL: https://build.opensuse.org/request/show/1109043 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sisu?expand=0&rev=5
This commit is contained in:
commit
28aba44d86
11
sisu-reproducible-index.patch
Normal file
11
sisu-reproducible-index.patch
Normal 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();
|
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user