Accepting request 1201960 from Java:packages
Specify jar timestamp for reproducible builds OBS-URL: https://build.opensuse.org/request/show/1201960 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/akka?expand=0&rev=10
This commit is contained in:
commit
330e0c6963
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 19 05:25:48 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Specify jar timestamp for reproducible builds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 12 11:47:29 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package akka
|
||||
#
|
||||
# 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
|
||||
@ -101,7 +101,12 @@ scalac -nobootcp -d target/classes -cp $(build-classpath scala typesafe-config)
|
||||
javac -d target/classes -cp $(build-classpath scala typesafe-config):target/classes \
|
||||
-source 8 -target 8 -encoding utf-8 \
|
||||
$(find src/main -name \*.java | xargs)
|
||||
jar -cf target/%{name}-actor.jar -C target/classes . -C src/main/resources .
|
||||
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}-actor.jar -C target/classes . -C src/main/resources .
|
||||
|
||||
mkdir -p target/apidocs
|
||||
scaladoc -nobootcp -d target/apidocs -cp $(build-classpath scala typesafe-config) -target:8 \
|
||||
$(find src/main -name \*.scala -o -name \*.java | xargs)
|
||||
|
Loading…
Reference in New Issue
Block a user