On Wednesday, 05 April 2023 at 11:41, Sébastien Le Roux wrote: [...] > Now comes my question: some of these files seem to be configuration > files, that the 'update-mime-database' simply updates, so I am not > confident in saying that these should be installed by my RPM, it might > just be better to have these files simply updated after the > installation, but I do not know how. > > I tried to remove the 'update-mime-database' from the 'Makefile.am' > (the project uses GNU autotools) Do that. > and put it in the '%check' section of the spec file but it does not > work (same issue). But don't put it anywhere else. It'll be run by rpm itself when installing the package via filetriggers of shared-mime-info package: $ rpm -q --filetriggers shared-mime-info transfiletriggerin scriptlet (using /bin/sh) -- /usr/share/mime update-mime-database -n /usr/share/mime &> /dev/null ||: transfiletriggerpostun scriptlet (using /bin/sh) -- /usr/share/mime update-mime-database -n /usr/share/mime &> /dev/null ||: Regards, Dominik -- Fedora https://getfedora.org | RPM Fusion http://rpmfusion.org There should be a science of discontent. People need hard times and oppression to develop psychic muscles. -- from "Collected Sayings of Muad'Dib" by the Princess Irulan _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue