forked from pool/timezone
Accepting request 969463 from home:fstrba:branches:Base:System
Fix build in factory OBS-URL: https://build.opensuse.org/request/show/969463 OBS-URL: https://build.opensuse.org/package/show/Base:System/timezone?expand=0&rev=279
This commit is contained in:
parent
357ef525cb
commit
7da29132f8
@ -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>
|
||||
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user