On 18/05/2020 17:23, Stefan Brüns wrote:
Trying to install anything in/usr/share/mime/*, with the sole exception of / usr/share/mime/packages/*.xml, is a packaging bug.
Any other file below/usr/share/mime/ is a cache, created/updated by the update-mime-database file trigger.
Claiming ownership of a file below e.g./usr/share/mime/audio/ is wrong, as the mime type may be registered from several packages.
https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-inf... --- Each application provides only a single XML source file, which is installed in the packages directory as described above. ---
Regards,
Stefan
Just to make this clear, the package buzztrax which BuildRequires shared-mime-info which owns - /usr/share/mime/audio now fails because shared-mime-info no longer has ownership of this directory: [ 387s] buzztrax-0.10.2+git20191209-100.16.x86_64.rpm: directories not owned by a package: [ 387s] - /usr/share/mime/audio I'm surprised that such a major change in the package shared-mime-info wasn't documented. Thanks Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org