From 286668427f91370c6ca89aab82bc463c6ddac4ee Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Fri, 6 Nov 2015 16:08:40 +0100 Subject: [PATCH] add desktop-file-install scriptlet --- compiz.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/compiz.spec b/compiz.spec index 87d08aa..0f1d0f0 100644 --- a/compiz.spec +++ b/compiz.spec @@ -108,6 +108,11 @@ make %{?_smp_mflags} imagedir=%{_datadir}/pixmaps %install %{make_install} +desktop-file-install \ + --delete-original \ + --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ +$RPM_BUILD_ROOT%{_datadir}/applications/*.desktop + find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' @@ -185,6 +190,7 @@ fi - remove mate gwd scripts, they are in the tarball now - remove old obsoletes for f15/16 - some spec file cleanup +- add desktop-file-install scriptlet * Wed Jun 17 2015 Fedora Release Engineering - 1:0.8.8-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild