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:
parent
5f1b8d92c8
commit
bb7371dc8c
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 13 06:51:49 UTC 2016 - davejplater@gmail.com
|
||||||
|
|
||||||
|
- Use %mime_database_post macro instead of calling direct.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 16 07:56:16 UTC 2016 - davejplater@gmail.com
|
Sun Oct 16 07:56:16 UTC 2016 - davejplater@gmail.com
|
||||||
|
|
||||||
|
@ -144,10 +144,12 @@ install -D -m 0644 "%{SOURCE2}" "%{buildroot}%{_mandir}/man1/"
|
|||||||
%fdupes -s %{buildroot}%{_datadir}/
|
%fdupes -s %{buildroot}%{_datadir}/
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/usr/bin/update-mime-database "%{_datadir}/mime" >/dev/null
|
%mime_database_post
|
||||||
|
%desktop_database_post
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/usr/bin/update-mime-database "%{_datadir}/mime" >/dev/null
|
%mime_database_postun
|
||||||
|
%desktop_database_postun
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user