diff --git a/auto.changes b/auto.changes index c40d636..e39d3c2 100644 --- a/auto.changes +++ b/auto.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 23 05:34:48 UTC 2024 - Fridrich Strba + +- Use SOURCE_DATE_EPOCH for reproducible builds + ------------------------------------------------------------------- Thu Jan 13 17:52:07 UTC 2022 - Fridrich Strba diff --git a/auto.spec b/auto.spec index e197894..e03066c 100644 --- a/auto.spec +++ b/auto.spec @@ -1,7 +1,7 @@ # # spec file for package auto # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -135,6 +135,7 @@ find -name '*.jar' -print -delete %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) \ -f build-pom.xml -Dsource=8 -Dfile.encoding=UTF-8 %install