Fridrich Strba 2023-09-09 14:51:01 +00:00 committed by Git OBS Bridge
parent 5da0642677
commit 96fc08c6a9
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Sep 9 14:50:34 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp
-------------------------------------------------------------------
Thu Aug 31 06:33:17 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>

View File

@ -77,7 +77,8 @@ cp %{SOURCE1} target/sqlite-$(sed -e 's/^version=//' VERSION)-amal.zip
%build
%make_build native
%{mvn_build} -f
%{mvn_build} -f -- \
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ)
%install
%mvn_install