diff --git a/glassfish-jsp.changes b/glassfish-jsp.changes index 28bb216..1fcfc97 100644 --- a/glassfish-jsp.changes +++ b/glassfish-jsp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Sep 9 13:36:14 UTC 2023 - Fridrich Strba + +- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp + ------------------------------------------------------------------- Tue Mar 22 09:19:40 UTC 2022 - Fridrich Strba diff --git a/glassfish-jsp.spec b/glassfish-jsp.spec index 58fca7b..9db7b2a 100644 --- a/glassfish-jsp.spec +++ b/glassfish-jsp.spec @@ -1,7 +1,7 @@ # # spec file for package glassfish-jsp # -# 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 @@ -84,7 +84,9 @@ cp -p %{SOURCE2} . %{mvn_file} : %{name}/javax.servlet.jsp %{name} %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