From 069f7b5f5fdeebb2b2eb3773fb3d78a426552bfcc74c53f64fc045418c29078f Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 11 Sep 2012 05:59:46 +0000 Subject: [PATCH] Accepting request 133088 from KDE:Distro:Factory forward to factory OBS-URL: https://build.opensuse.org/request/show/133088 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scribus?expand=0&rev=45 --- scribus.changes | 5 +++++ scribus.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/scribus.changes b/scribus.changes index 58d8dd1..decc435 100644 --- a/scribus.changes +++ b/scribus.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 6 15:16:37 UTC 2012 - dmueller@suse.com + +- fix build for older distros + ------------------------------------------------------------------- Mon Jun 25 00:03:47 UTC 2012 - badshah400@gmail.com diff --git a/scribus.spec b/scribus.spec index 999afc6..5c5de36 100644 --- a/scribus.spec +++ b/scribus.spec @@ -150,15 +150,19 @@ install -D -m 0644 %{S:5} %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{n if [ -f /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database /usr/share/mime > /dev/null fi +%if 0%{?suse_version} > 1130 %desktop_database_post %icon_theme_cache_post +%endif %postun if [ -f /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database /usr/share/mime > /dev/null fi +%if 0%{?suse_version} > 1130 %desktop_database_postun %icon_theme_cache_postun +%endif %files %defattr(-,root,root)