[opensuse-packaging] ERROR: No sufficient Category definition

Hi, everyone! I'm trying to package the latest version of PDFsam Basic for openSUSE at OBS [1], but rpmlint fails with: [ 46s] ERROR: No sufficient Category definition: /home/abuild/rpmbuild/BUILDROOT/pdfsam-basic-4.0.1-lp151.3.1.x86_64//usr/share/applications/pdfsam-basic.desktop [ 46s] Please refer to https://en.opensuse.org/openSUSE:Packaging_desktop_menu_categories [ 46s] WARNING: absolute path in Icon line: /home/abuild/rpmbuild/BUILDROOT/pdfsam-basic-4.0.1-lp151.3.1.x86_64//usr/share/applications/pdfsam-basic.desktop [ 46s] Errors in installed desktop file detected. Please refer to http://en.opensuse.org/SUSE_Package_Conventions/RPM_Macros [ 46s] error: Bad exit status from /var/tmp/rpm-tmp.kYc6je (%install) Full build log can be seen at [2]. AFAIK the %suse_update_desktop_file macro is deprecated, so I used desktop-file-edit instead [3]. And the way I did, /usr/share/applications/pdfsam-basic.desktop ends up with: Categories=Office;Publishing; According to [4], I believe that should be enough. Does anyone know what is going wrong? Thank you! [1] https://build.opensuse.org/package/show/home:kamarada:15.1:dev/pdfsam-basic [2] https://build.opensuse.org/package/live_build_log/home:kamarada:15.1:dev/pdf... [3] https://lists.opensuse.org/opensuse-packaging/2011-12/msg00177.html [4] https://en.opensuse.org/openSUSE:Packaging_desktop_menu_categories Antonio The Linux Kamarada Project http://kamarada.github.io/ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (1)
-
Linux Kamarada