Hello community,

here is the log from the commit of package java-12-openjdk for openSUSE:Factory 
checked in at 2019-10-08 20:00:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/java-12-openjdk (Old)
 and      /work/SRC/openSUSE:Factory/.java-12-openjdk.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "java-12-openjdk"

Tue Oct  8 20:00:03 2019 rev:10 rq:736264 version:12.0.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/java-12-openjdk/java-12-openjdk.changes  
2019-09-05 12:47:13.271470140 +0200
+++ 
/work/SRC/openSUSE:Factory/.java-12-openjdk.new.2352/java-12-openjdk.changes    
    2019-10-08 20:00:08.283806393 +0200
@@ -1,0 +2,6 @@
+Tue Oct  8 15:29:36 UTC 2019 - Fridrich Strba <[email protected]>
+
+- Do not fail installation when the manpages are not present
+  (bsc#1115375)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ java-12-openjdk.spec ++++++
--- /var/tmp/diff_new_pack.a0HHR6/_old  2019-10-08 20:00:13.727792219 +0200
+++ /var/tmp/diff_new_pack.a0HHR6/_new  2019-10-08 20:00:13.731792208 +0200
@@ -1133,14 +1133,26 @@
 fi
 
 %post javadoc
-update-alternatives \
+# in some settings, the %{_javadocdir}/%{sdklnk}/api does not exist
+# and the update-alternatives call ends up in error. So, filter this
+# cases out.
+if [ -d %{_javadocdir}/%{sdklnk}/api ]
+then
+  update-alternatives \
   --install %{_javadocdir}/java javadocdir %{_javadocdir}/%{sdklnk}/api \
   %{priority}
+fi
 
 %postun javadoc
 if [ $1 -eq 0 ]
 then
+# in some settings, the %{_javadocdir}/%{sdklnk}/api does not exist
+# and the update-alternatives call ends up in error. So, filter this
+# cases out.
+  if [ -d %{_javadocdir}/%{sdklnk}/api ]
+  then
   update-alternatives --remove javadocdir %{_javadocdir}/%{sdklnk}/api
+  fi
 fi
 
 %files


Reply via email to