diff --git a/json-java.changes b/json-java.changes index 574c373..20456b7 100644 --- a/json-java.changes +++ b/json-java.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 13 05:28:58 UTC 2023 - Fridrich Strba + +- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp + ------------------------------------------------------------------- Tue Mar 22 15:29:20 UTC 2022 - Fridrich Strba diff --git a/json-java.spec b/json-java.spec index 82c6157..08fcb76 100644 --- a/json-java.spec +++ b/json-java.spec @@ -49,6 +49,7 @@ This package contains the API documentation for %{name}. %if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} -Dmaven.compiler.release=8 \ %endif + -Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \ -Dsource=8 %install