1
0
desktop-file-utils/macros.desktop-file-utils
Dirk Mueller 3deb99bf60 - Update to version 0.28:
* common
   + Increase GLib requirement to 2.26 (Corentin Noël).
   + Fix install failing on second run (Raziel Anarki).
   + Fix use of deprecated Meson feature resulting in a warning (Raziel
    Anarki).
  * desktop-file-validate
   + Allow groups with the same name as interfaces in Implements (Corentin
     Noël).
   + Add support for the COSMIC environment (Ryan Brue).

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/desktop-file-utils?expand=0&rev=91
2024-12-02 08:44:03 +00:00

25 lines
806 B
Plaintext

# RPM macros for packages installing desktop files
#
###
#
# When a package installs a desktop file, it should use both macros:
#
# - %desktop_database_post in %post
# - %desktop_database_postun in %postun
#
# Note that these macros can optionally take as argument the directory
# where the desktop file is installed. If no argument is passed, then
# %{_datadir}/applications will be used (which is where applications
# usually install their desktop file).
#
###
# On install, update the desktop database
%desktop_database_post() \
%nil
# On uninstall, update the desktop database. Note: we ignore upgrades (already
# handled in %post of the new package).
%desktop_database_postun() \
%nil