From e2dfdcfb62f3db9909411064db4740ddecd1b161 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Mon, 16 Aug 2004 13:01:50 +0000 Subject: [PATCH] 2004-08-16 Tim Waugh * gramps.spec.in, gramps-mdk.spec.in: Fixed. svn: r3405 --- gramps2/Makefile.am | 2 +- gramps2/gramps.spec.in | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gramps2/Makefile.am b/gramps2/Makefile.am index 67b4d6c07..ebd6aa3d7 100644 --- a/gramps2/Makefile.am +++ b/gramps2/Makefile.am @@ -1,6 +1,6 @@ SUBDIRS = src doc example -EXTRA_DIST = autogen.sh gramps.spec.in gramps.spec gramps-mdk.spec gramps-mdk.spec.in COPYING-DOCS FAQ +EXTRA_DIST = autogen.sh gramps.spec.in gramps.spec gramps-mdk.spec.in COPYING-DOCS FAQ bin_SCRIPTS = gramps diff --git a/gramps2/gramps.spec.in b/gramps2/gramps.spec.in index cac9334a9..32cd5a0d1 100644 --- a/gramps2/gramps.spec.in +++ b/gramps2/gramps.spec.in @@ -64,6 +64,7 @@ desktop-file-install --vendor gramps --delete-original \ src/data/gramps.desktop %find_lang gramps rm -rf $RPM_BUILD_ROOT/%{_localstatedir}/scrollkeeper/ +rm -rf $RPM_BUILD_ROOT/%{_datadir}/mime/application rm -rf $RPM_BUILD_ROOT/%{_datadir}/mime/{globs,magic,XMLnamespaces} %clean @@ -91,6 +92,7 @@ rm -rf $RPM_BUILD_ROOT GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \ gconftool-2 --makefile-install-rule \ %{_sysconfdir}/gconf/schemas/gramps.schemas > /dev/null +/usr/bin/update-desktop-database &> /dev/null if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi %postun