Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package scala-java8-compat for 
openSUSE:Factory checked in at 2024-09-25 21:53:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/scala-java8-compat (Old)
 and      /work/SRC/openSUSE:Factory/.scala-java8-compat.new.29891 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "scala-java8-compat"

Wed Sep 25 21:53:18 2024 rev:2 rq:1203018 version:1.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/scala-java8-compat/scala-java8-compat.changes    
2023-10-12 23:47:24.868421877 +0200
+++ 
/work/SRC/openSUSE:Factory/.scala-java8-compat.new.29891/scala-java8-compat.changes
 2024-09-25 21:53:32.540908377 +0200
@@ -1,0 +2,5 @@
+Tue Sep 24 13:22:37 UTC 2024 - Fridrich Strba <fst...@suse.com>
+
+- Use SOURCE_DATE_EPOCH for reproducible jar mtime
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ scala-java8-compat.spec ++++++
--- /var/tmp/diff_new_pack.OMTNom/_old  2024-09-25 21:53:32.972926347 +0200
+++ /var/tmp/diff_new_pack.OMTNom/_new  2024-09-25 21:53:32.976926513 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package scala-stm
+# spec file for package scala-java8-compat
 #
-# Copyright (c) 2023 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
@@ -58,7 +58,11 @@
 
 mkdir -p target/classes
 scalac -d target/classes -release:8  $(find src/main -name \*.scala && find 
src/main -name \*.java | xargs)
-jar -cf target/%{name}_%{scala_short_version}-%{version}.jar -C target/classes 
.
+jar \
+%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 17}%{!?pkg_vcmp:0}
+    --date="$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} 
+%%Y-%%m-%%dT%%H:%%M:%%SZ)" \
+%endif
+    --create --file=target/%{name}_%{scala_short_version}-%{version}.jar -C 
target/classes .
 mkdir -p target/apidoc
 scaladoc -d target/apidoc -release:8 $(find src/main -name \*.scala && find 
src/main -name \*.java | xargs)
 

Reply via email to