From 6d072e9215ac2cf09b43f987e94055a95d18c6de4db2c08389570e6f8c703bfd Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 14 Sep 2023 04:25:26 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/tycho?expand=0&rev=43 --- tycho-getTimestamp.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tycho-getTimestamp.patch b/tycho-getTimestamp.patch index 42283dd..4bf8a85 100644 --- a/tycho-getTimestamp.patch +++ b/tycho-getTimestamp.patch @@ -6,7 +6,7 @@ diff -urEbwB org.eclipse.tycho-tycho-1.6.0.orig/tycho-packaging-plugin/src/main/ @Override public Date getTimestamp(MavenSession session, MavenProject project, MojoExecution execution) { + if (System.getenv("SOURCE_DATE_EPOCH") != null) { -+ return new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH")))); ++ return new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))); + } return session.getStartTime(); }