diff --git a/kate.changes b/kate.changes index 891a815..1213ff1 100644 --- a/kate.changes +++ b/kate.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 10 21:36:22 UTC 2016 - hrvoje.senjan@gmail.com + +- Try to fix build on Leap 42.1 with newer KF5 + ------------------------------------------------------------------- Mon Sep 26 20:05:02 UTC 2016 - toddrme2178@gmail.com diff --git a/kate.spec b/kate.spec index fb7b6d3..4df1cc1 100644 --- a/kate.spec +++ b/kate.spec @@ -16,6 +16,7 @@ # +%define _appstreamkpackage 0%(cat %{_kf5_libdir}/cmake/KF5Package/KF5PackageMacros.cmake | grep -q 'appstream-metainfo' && echo 1) Name: kate Version: 16.08.1 Release: 0 @@ -138,7 +139,7 @@ plugins and data files for Kate and KWrite editors. %{_kf5_sharedir}/katexmltools/ %{_kf5_sharedir}/plasma/ %{_kf5_servicesdir}/ -%if 0%{?sle_version} != 120100 +%if 0%{?_appstreamkpackage} %{_kf5_appstreamdir}/org.kde.plasma.katesessions.appdata.xml %endif