1
0
forked from pool/jnr-constants
Fridrich Strba 2023-09-09 14:30:14 +00:00 committed by Git OBS Bridge
parent f4f252ada9
commit a394352955
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Sep 9 14:30:09 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp
-------------------------------------------------------------------
Sun Dec 18 06:51:14 UTC 2022 - Anton Shvetz <shvetz.anton@gmail.com>

View File

@ -52,7 +52,8 @@ This package contains the API documentation for %{name}.
%pom_remove_plugin :maven-javadoc-plugin
%build
%{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