On Mon, 17 Aug 2015 09:04:05 -0400, Matthias Clasen wrote:
I've added file triggers for a number of desktop things:
- gsettings schemas
- gio modules
- desktop files
- mime types
- gdk-pixbuf loaders
- gtk im modules
If you are updating a desktop package in rawhide that uses any of
glib-compile-schemas, gio-querymodules, update-desktop-database, update
-mime-database, gdk-pixbuf-query-loaders or gtk-query-immodules-3.0 in
its %post, %postun or %posttrans, you can simply drop those calls - the
file triggers will take care of things.
For the time being, it might be a good idea to add a dependency on a
new-enough build of the package(s) whose file triggers you are using.
Here is a representative commit:
+# for file triggers
+Requires: glib2 >= 2.45.4-2
+Requires: desktop-file-utils >= 0.22-6
The minimum version for desktop-file-utils in there makes this change
specific to Fedora >= 24 so far.