Sync from SUSE:SLFO:Main shared-mime-info revision 1843d586bc19a8d7d1e77352a1711374

This commit is contained in:
2024-05-04 00:38:33 +02:00
commit a909d3b159
5 changed files with 1343 additions and 0 deletions

24
macros.shared-mime-info Normal file
View File

@@ -0,0 +1,24 @@
# RPM macros for packages installing a MIME type according to the XDG specification
#
###
#
# When a package installs a MIME type as per the XDG specification, it should
# use both macros:
#
# - %mime_database_post in %post
# - %mime_database_postun in %postun
#
# Note that these macros can optionally take as argument the directory
# where the MIME type is installed. If no argument is passed, then
# %{_datadir}/mime will be used (which is where applications usually install
# the MIME type information).
#
###
# macros are place holders to not unnescessarily break packages; package converted to file triggers
%mime_database_post() \
%nil
# macros are place holders to not unnescessarily break packages; package converted to file triggers
%mime_database_postun() \
%nil