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