SHA256
1
0
forked from pool/timezone
Dominique Leuenberger 2022-04-17 21:49:35 +00:00 committed by Git OBS Bridge
commit 1a706ae1dc
3 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 12 13:56:17 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Add --add-exports for java versions that support it.
* Fixes build in factory, since this is compulsory for jdk17+
-------------------------------------------------------------------
Thu Mar 17 06:50:19 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -66,7 +66,11 @@ echo "tzdata%{version}" >> VERSION
%build
# Java 6/7 data
java -jar %{_javadir}/javazic.jar -V %{version} \
java \
%if %{?pkg_vcmp:%pkg_vcmp java >= 9}%{!?pkg_vcmp:0}
--add-exports=java.base/sun.security.action=ALL-UNNAMED \
%endif
-jar %{_javadir}/javazic.jar -V %{version} \
-d javazi \
africa antarctica asia australasia europe northamerica \
southamerica backward etcetera \

View File

@ -47,7 +47,11 @@ echo "tzdata%{version}" >> VERSION
%build
# Java 6/7 data
java -jar %{_javadir}/javazic.jar -V %{version} \
java \
%if %{?pkg_vcmp:%pkg_vcmp java >= 9}%{!?pkg_vcmp:0}
--add-exports=java.base/sun.security.action=ALL-UNNAMED \
%endif
-jar %{_javadir}/javazic.jar -V %{version} \
-d javazi \
africa antarctica asia australasia europe northamerica \
southamerica backward etcetera \