Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package timezone for openSUSE:Factory 
checked in at 2022-04-17 23:49:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/timezone (Old)
 and      /work/SRC/openSUSE:Factory/.timezone.new.1941 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "timezone"

Sun Apr 17 23:49:35 2022 rev:139 rq:969710 version:2022a

Changes:
--------
--- /work/SRC/openSUSE:Factory/timezone/timezone-java.changes   2022-03-28 
17:00:25.944958879 +0200
+++ /work/SRC/openSUSE:Factory/.timezone.new.1941/timezone-java.changes 
2022-04-17 23:49:36.770288354 +0200
@@ -1,0 +2,6 @@
+Tue Apr 12 13:56:17 UTC 2022 - Fridrich Strba <fst...@suse.com>
+
+- Add --add-exports for java versions that support it.
+  * Fixes build in factory, since this is compulsory for jdk17+
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ timezone-java.spec ++++++
--- /var/tmp/diff_new_pack.pZv16Y/_old  2022-04-17 23:49:37.486289334 +0200
+++ /var/tmp/diff_new_pack.pZv16Y/_new  2022-04-17 23:49:37.490289340 +0200
@@ -66,7 +66,11 @@
 
 %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  \


++++++ timezone-java.spec.in ++++++
--- /var/tmp/diff_new_pack.pZv16Y/_old  2022-04-17 23:49:37.542289411 +0200
+++ /var/tmp/diff_new_pack.pZv16Y/_new  2022-04-17 23:49:37.546289417 +0200
@@ -47,7 +47,11 @@
 
 %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  \

Reply via email to