Hello community,

here is the log from the commit of package k3b for openSUSE:Factory checked in 
at 2017-06-01 16:24:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/k3b (Old)
 and      /work/SRC/openSUSE:Factory/.k3b.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "k3b"

Thu Jun  1 16:24:00 2017 rev:70 rq:497834 version:17.04.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/k3b/k3b.changes  2017-05-22 10:38:37.619831028 
+0200
+++ /work/SRC/openSUSE:Factory/.k3b.new/k3b.changes     2017-06-01 
16:24:26.753247057 +0200
@@ -1,0 +2,6 @@
+Tue May 23 13:18:27 UTC 2017 - [email protected]
+
+- Only use the %kf5_find_htmldocs macro on Leap 42.3 and higher,
+  this should fix the build for 42.2 on Packman
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ k3b.spec ++++++
--- /var/tmp/diff_new_pack.cK6d4i/_old  2017-06-01 16:24:27.497142163 +0200
+++ /var/tmp/diff_new_pack.cK6d4i/_new  2017-06-01 16:24:27.501141599 +0200
@@ -126,7 +126,22 @@
 %kf5_makeinstall -C build
 %if %{with lang}
   %find_lang %{name} --with-man --all-name
+  %if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120300
   %kf5_find_htmldocs
+  %else
+  # %%kf5_find_htmldocs is only defined since Leap 42.3
+  CURDIR=`pwd`
+  pushd %{buildroot}%{_kf5_htmldir}
+  for i in *; do
+    if ! [ -d "/usr/share/locale/${i}" ]; then
+        echo "Removing unsupported translation %{_kf5_htmldir}/${i}"
+        rm -rf "$i"
+    elif [ "$i" != "en" ]; then
+        echo "%doc %lang($i) %{_kf5_htmldir}/${i}" >> $CURDIR/%{name}.lang
+    fi
+  done
+  popd
+  %endif
 %endif
 
 %suse_update_desktop_file -r org.kde.k3b Qt KDE AudioVideo DiscBurning


Reply via email to