[opensuse-buildservice] /usr/share/applications/mimeinfo.cache issue
Hello, I am one of the maintainers of the Ham-Radio packages for (open)SUSE. When I am trying to build the program "xlog" on openSUSE Factory, the following error occurs when packaging the RPM: Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/xlog-1.5-build error: Installed (but unpackaged) file(s) found: /usr/share/applications/mimeinfo.cache RPM build errors: Installed (but unpackaged) file(s) found: /usr/share/applications/mimeinfo.cache (open)SUSE 10.0 - 10.2 works fine. Why the rpm build process for Factory creates this file? What can I do to prevent this file from being generated? Or is it really needed? Thanks in advance for possible solutions Tim Fischer -- Tim Fischer --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Tim Fischer wrote:
Hello, I am one of the maintainers of the Ham-Radio packages for (open)SUSE. When I am trying to build the program "xlog" on openSUSE Factory, the following error occurs when packaging the RPM:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/xlog-1.5-build error: Installed (but unpackaged) file(s) found: /usr/share/applications/mimeinfo.cache
Delete it from RPM_BUILD_ROOT.
(open)SUSE 10.0 - 10.2 works fine. Why the rpm build process for Factory creates this file? What can I do to prevent this file from being generated? Or is it really needed?
This is a cache file of all desktop files installed, created by update-desktop-database. It must not be created during package build, but after package installation. In current version of SuSE it is done automatically by SuSEconfig. If the RPM build process creates it, please report it upstream: These binaries should never be called if DESTDIR is not empty, but user should be informed about need to call them after installation to live system: update-mime-database update-desktop-database gtk-update-icon-cache Some upstream packages have also --disable-update-desktopdb or so intended for packagers. In detail: update-mime-database -> per-package in %post and %posun, updates /usr/share/mime from /usr/share/mime/packages update-desktop-database -> SuSEconfig.desktop-file-utils, updated mimeinfo.cache from desktop files gtk-update-icon-cache -> SuSEconfig.gtk2, updates icon-theme.cache from icons -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Stanislav Brabec
-
Tim Fischer