SHA256
1
0
forked from pool/rosegarden

Accepting request 440108 from home:plater

Use macro instead of calling update-mime-database direct

OBS-URL: https://build.opensuse.org/request/show/440108
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/rosegarden?expand=0&rev=71
This commit is contained in:
2016-11-13 07:22:50 +00:00
committed by Git OBS Bridge
parent 5f1b8d92c8
commit bb7371dc8c
2 changed files with 9 additions and 2 deletions

View File

@@ -144,10 +144,12 @@ install -D -m 0644 "%{SOURCE2}" "%{buildroot}%{_mandir}/man1/"
%fdupes -s %{buildroot}%{_datadir}/
%post
/usr/bin/update-mime-database "%{_datadir}/mime" >/dev/null
%mime_database_post
%desktop_database_post
%postun
/usr/bin/update-mime-database "%{_datadir}/mime" >/dev/null
%mime_database_postun
%desktop_database_postun
%clean
rm -rf %{buildroot}