From e104451e9fe800140f765069e7f7fd80ffa7a31cc5fd9a78dd996d32cea8eaa3 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 15 Sep 2023 10:03:15 +0000 Subject: [PATCH] Accepting request 1111485 from home:bmwiedemann:branches:Java:packages Override build date (boo#1047218)" OBS-URL: https://build.opensuse.org/request/show/1111485 OBS-URL: https://build.opensuse.org/package/show/Java:packages/antlr3?expand=0&rev=25 --- antlr3.changes | 5 +++++ antlr3.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/antlr3.changes b/antlr3.changes index e38dde8..9583b3e 100644 --- a/antlr3.changes +++ b/antlr3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 15 08:19:19 UTC 2023 - Bernhard Wiedemann + +- Override build date (boo#1047218)" + ------------------------------------------------------------------- Fri Mar 17 06:55:33 UTC 2023 - Fridrich Strba diff --git a/antlr3.spec b/antlr3.spec index 86b48ca..c45ca35 100644 --- a/antlr3.spec +++ b/antlr3.spec @@ -128,7 +128,7 @@ BuildArch: noarch %pom_remove_plugin :antlr3-maven-plugin tool %endif -sed -i "s,\${buildNumber},`cat %{_sysconfdir}/fedora-release` `date`," tool/src/main/resources/org/antlr/antlr.properties +sed -i "s,\${buildNumber},`cat %{_sysconfdir}/fedora-release` `date -u -d@${SOURCE_DATE_EPOCH:-$(date +%%s)}`," tool/src/main/resources/org/antlr/antlr.properties %patch0 -p1 %patch1