diff --git a/decentxml.changes b/decentxml.changes index 8b1c19d..6159661 100644 --- a/decentxml.changes +++ b/decentxml.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 23 08:34:50 UTC 2024 - Fridrich Strba + +- Use SOURCE_DATE_EPOCH for reproducible builds + ------------------------------------------------------------------- Tue Mar 22 07:42:40 UTC 2022 - Fridrich Strba diff --git a/decentxml.spec b/decentxml.spec index e342627..849cdde 100644 --- a/decentxml.spec +++ b/decentxml.spec @@ -1,7 +1,7 @@ # # spec file for package decentxml # -# 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 @@ -71,6 +71,7 @@ sed -i -e "s|junit-dep|junit|g" pom.xml %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