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