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:
commit
7569fbb4b0
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user