6
0
forked from pool/jsonp

Accepting request 1109981 from Java:packages

Reproducible builds improvement

OBS-URL: https://build.opensuse.org/request/show/1109981
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jsonp?expand=0&rev=4
This commit is contained in:
2023-09-10 11:10:51 +00:00
committed by Git OBS Bridge
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Sep 9 14:33:59 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 22 15:22:01 UTC 2022 - Fridrich Strba <fstrba@suse.com> Tue Mar 22 15:22:01 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package jsonp # spec file for package jsonp
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -87,6 +87,7 @@ sed -i '/check-module/d' api/pom.xml impl/pom.xml
%build %build
%{mvn_build} -f -- \ %{mvn_build} -f -- \
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} %if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-Dmaven.compiler.release=8 \ -Dmaven.compiler.release=8 \
%endif %endif