[opensuse-packaging] ERROR: No sufficient Category definition: foobar.desktop
I have little problem with packaging rhn-client-tools: https://build.opensuse.org/package/show?package=rhn-client-tools&project=home%3Axsuchy I tried my best, but I always get: WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist WARNING: '/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu' does not exist WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist ERROR: No sufficient Category definition: /var/tmp/rhn-client-tools-0.7.2-7.1-root-abuild//usr/share/applications/rhn_register.desktop Errors in installed desktop file detected. Please mail stbinner@suse.de, if you think this is wrong. error: Bad exit status from /var/tmp/rpm-tmp.42437 (%install) rhn_register.desktop has this content: [Desktop Entry] Encoding=UTF-8 Name=RHN Registration GenericName=Register for software updates from Spacewalk/Satellite/Red Hat Network Comment=Register to Spacewalk/Satellite/Red Hat Network. Exec=rhn_register Icon=up2date Terminal=false Type=Application Categories=System;Settings;X-Red-Hat-Base; And for record snip from spec file: %install ... desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications --vendor=rhn --remove-category=X-Red-Hat-Base --remove-category=Settings rhn_register.desktop %if 0%{?suse_version} %suse_update_desktop_file rhn_register System %endif ... It works for Fedora, RHEL, Mandriva, but do not work for SLES and OpenSuse. Can somebody point me, what I'm doing wrong? Thanks. Miroslav Suchy -- ,,, (o o) =================================oOO==(_)==OOo=========== ) mailto:miroslav@suchy.cz ( ICQ: #70802630 tel:+420-603-775737 skype:MiroslavSuchy )echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc (________________________________________Oooo._____________ .oooO ( ) ( ) ) / \ ( (_/ \_) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (1)
-
Miroslav Suchý