forked from pool/scala-java8-compat
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 9aa2242c22 | |||
| 60e5c6d1b7 |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 24 13:22:37 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Use SOURCE_DATE_EPOCH for reproducible jar mtime
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 1 16:19:48 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
||||
@@ -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 @@ rm -rf \
|
||||
|
||||
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user