6
0
forked from pool/json-simple
2023-09-13 05:24:36 +00:00
committed by Git OBS Bridge
parent a488a008c6
commit 7bd99bc773
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 13 05:24:18 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp
-------------------------------------------------------------------
Tue Mar 28 08:51:41 UTC 2023 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -69,7 +69,9 @@ find . -type f -exec sed -i 's/\r//' {} \;
%{mvn_file} : %{name}
%build
%{mvn_build} -f -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
%{mvn_build} -f -- \
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
-Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
%install
%mvn_install