SHA256
1
0
forked from pool/antlr3

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

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