diff --git a/scribus.changes b/scribus.changes index 69d4f80..df786d2 100644 --- a/scribus.changes +++ b/scribus.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 15 15:06:30 UTC 2016 - wbauer@tmo.at + +- Use shared-mime-info macros (boo#979301) +- Remove version check for > 11.3, earlier versions are not + supported any more + ------------------------------------------------------------------- Wed Aug 10 07:03:48 UTC 2016 - badshah400@gmail.com diff --git a/scribus.spec b/scribus.spec index 9b49e70..13d7c4b 100644 --- a/scribus.spec +++ b/scribus.spec @@ -156,22 +156,14 @@ install -Dm0644 %{S:6} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml #update the mime database %post -if [ -f /usr/bin/update-mime-database ]; then - /usr/bin/update-mime-database /usr/share/mime > /dev/null -fi -%if 0%{?suse_version} > 1130 +%mime_database_post %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 +%mime_database_postun %desktop_database_postun %icon_theme_cache_postun -%endif %files %defattr(-,root,root)