diff --git a/netty.changes b/netty.changes index 619cca6..678e72e 100644 --- a/netty.changes +++ b/netty.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 13 04:55:29 UTC 2023 - Fridrich Strba + +- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp + ------------------------------------------------------------------- Fri Jun 23 08:44:41 UTC 2023 - Fridrich Strba diff --git a/netty.spec b/netty.spec index 2307db6..e3093bb 100644 --- a/netty.spec +++ b/netty.spec @@ -233,7 +233,9 @@ unzip %{SOURCE2} -d transport-native-unix-common/target/netty-jni-util %build -%{mvn_build} -f -- -Dsource=8 +%{mvn_build} -f -- \ + -Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \ + -Dsource=8 %install %mvn_install