1
0
forked from pool/jnr-constants

Accepting request 1109978 from Java:packages

Reproducible builds improvement

OBS-URL: https://build.opensuse.org/request/show/1109978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jnr-constants?expand=0&rev=4
This commit is contained in:
Ana Guerrero 2023-09-10 11:10:48 +00:00 committed by Git OBS Bridge
commit 7569fbb4b0
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