Accepting request 1232845 from science:HPC

OBS-URL: https://build.opensuse.org/request/show/1232845
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opa-fmgui?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2024-12-20 22:11:35 +00:00 committed by Git OBS Bridge
commit b2d01616bf
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 11 07:19:06 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
- Normalize jar mtimes for reproducible builds (boo#1134568)
-------------------------------------------------------------------
Mon Feb 26 12:39:04 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -103,7 +103,11 @@ cp %{_sourcedir}/*.jar lib/
pushd gritty
mkdir -p classes
javac -d classes -source 8 -target 8 -cp %{SOURCE20}:%{SOURCE25} $(find . -name \*.java | xargs)
jar -cf ../lib/gritty.jar -C 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=../lib/gritty.jar -C classes .
popd
%{ant}