forked from pool/json-simple
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user