From c7701fea1a1b1ae22f16b9429075c0b09d042390 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 19 Dec 2016 07:04:55 -0600 Subject: [PATCH] udpate %%files --- kf5-frameworkintegration.spec | 5 +++++ 1 file changed, 5 insertions(+) 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