diff --git a/xmlstreambuffer.changes b/xmlstreambuffer.changes index 40c911e..97637e0 100644 --- a/xmlstreambuffer.changes +++ b/xmlstreambuffer.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 12 12:51:36 UTC 2023 - Fridrich Strba + +- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp + ------------------------------------------------------------------- Wed Mar 23 05:57:56 UTC 2022 - Fridrich Strba diff --git a/xmlstreambuffer.spec b/xmlstreambuffer.spec index 914a8e1..39b2a93 100644 --- a/xmlstreambuffer.spec +++ b/xmlstreambuffer.spec @@ -1,7 +1,7 @@ # # spec file for package xmlstreambuffer # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -82,9 +82,10 @@ rm -r test/com/sun/xml/stream/buffer/stax/InscopeNamespaceTest.java %{mvn_build} -f -- \ %if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} - -Dmaven.compiler.release=8 \ + -Dmaven.compiler.release=8 \ %endif - -Dsource=8 + -Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \ + -Dsource=8 %install %mvn_install