Accepting request 1202516 from Java:packages
Use SOURCE_DATE_EPOCH for reproducible builds OBS-URL: https://build.opensuse.org/request/show/1202516 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/auto?expand=0&rev=5
This commit is contained in:
commit
fbc988b3d8
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 05:34:48 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Use SOURCE_DATE_EPOCH for reproducible builds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 13 17:52:07 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package auto
|
||||
#
|
||||
# Copyright (c) 2022 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
|
||||
@ -135,6 +135,7 @@ find -name '*.jar' -print -delete
|
||||
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
||||
-Dmaven.compiler.release=8 \
|
||||
%endif
|
||||
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
|
||||
-f build-pom.xml -Dsource=8 -Dfile.encoding=UTF-8
|
||||
|
||||
%install
|
||||
|
Loading…
x
Reference in New Issue
Block a user