Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update maven-assembly-plugin to version 3.6.0 / rev 6 via SR 1112413
https://build.opensuse.org/request/show/1112413 by user fstrba + dimstar_suse improvements for reproducibility
- Loading branch information
1 parent
24be506
commit 5a7aece
Showing
5 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
packages/m/maven-assembly-plugin/aggregated-timestamp.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- maven-assembly-plugin-3.6.0/src/main/java/org/apache/maven/plugins/assembly/filter/SimpleAggregatingDescriptorHandler.java 2023-05-11 20:35:38.000000000 +0200 | ||
+++ maven-assembly-plugin-3.6.0/src/main/java/org/apache/maven/plugins/assembly/filter/SimpleAggregatingDescriptorHandler.java 2023-09-14 15:46:56.659107385 +0200 | ||
@@ -95,7 +95,11 @@ | ||
f.deleteOnExit(); | ||
|
||
try (Writer writer = getWriter(f)) { | ||
- writer.write(commentChars + " Aggregated on " + new Date() + " from: "); | ||
+ Date now = new Date(); | ||
+ if (System.getenv("SOURCE_DATE_EPOCH") != null) { | ||
+ now = new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))); | ||
+ } | ||
+ writer.write(commentChars + " Aggregated on " + now + " from: "); | ||
|
||
for (final String filename : filenames) { | ||
writer.write("\n" + commentChars + " " + filename); |
8 changes: 8 additions & 0 deletions
8
packages/m/maven-assembly-plugin/maven-assembly-plugin.changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters