diff --git a/jnr-constants.changes b/jnr-constants.changes index 78f388b..fb3693e 100644 --- a/jnr-constants.changes +++ b/jnr-constants.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Sep 9 14:30:09 UTC 2023 - Fridrich Strba + +- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp + ------------------------------------------------------------------- Sun Dec 18 06:51:14 UTC 2022 - Anton Shvetz diff --git a/jnr-constants.spec b/jnr-constants.spec index b1f8fba..b504c35 100644 --- a/jnr-constants.spec +++ b/jnr-constants.spec @@ -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