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
This commit is contained in:
Fridrich Strba 2023-09-15 10:03:15 +00:00 committed by Git OBS Bridge
parent 91e92b2fba
commit e104451e9f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 15 08:19:19 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>
- Override build date (boo#1047218)"
-------------------------------------------------------------------
Fri Mar 17 06:55:33 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@ -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