diff --git a/kf5-frameworkintegration.spec b/kf5-frameworkintegration.spec index c230ecb..af30dec 100644 --- a/kf5-frameworkintegration.spec +++ b/kf5-frameworkintegration.spec @@ -33,6 +33,7 @@ BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qtx11extras-devel %if 0%{?fedora} > 23 +%global appstream 1 BuildRequires: cmake(AppStreamQt) BuildRequires: cmake(packagekitqt5) %endif @@ -115,6 +116,10 @@ rm -fv %{buildroot}%{_kf5_datadir}/kconf_update/frameworksintegration-5.16-font. %license COPYING.LIB %{_kf5_datadir}/kf5/infopage/ %{_kf5_datadir}/knotifications5/plasma_workspace.notifyrc +%if 0%{?appstream} +%dir %{_kf5_libexecdir}/kpackagehandlers +%{_kf5_libexecdir}/kpackagehandlers/appstreamhandler +%endif %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig