diff --git a/jsonp.changes b/jsonp.changes index 058d72b..35b18d5 100644 --- a/jsonp.changes +++ b/jsonp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Sep 9 14:33:59 UTC 2023 - Fridrich Strba + +- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp + ------------------------------------------------------------------- Tue Mar 22 15:22:01 UTC 2022 - Fridrich Strba diff --git a/jsonp.spec b/jsonp.spec index 4106914..f6af089 100644 --- a/jsonp.spec +++ b/jsonp.spec @@ -1,7 +1,7 @@ # # spec file for package jsonp # -# 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 @@ -87,6 +87,7 @@ sed -i '/check-module/d' api/pom.xml impl/pom.xml %build %{mvn_build} -f -- \ + -Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \ %if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} -Dmaven.compiler.release=8 \ %endif