Issues packaging Unix RuneScape Client for openSUSE: insufficient category definition

Hi,

I can build a Unix RuneScape Client RPM package for CentOS, Fedora, RHEL and Scientific Linux without a problem but for openSUSE I get the build error:


   43s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist
   43s] WARNING: '/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu' does not exist
   43s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist
   43s] ERROR: No sufficient Category definition: /home/abuild/rpmbuild/BUILDROOT/unix-runescape-client-4.3.5-6.1.x86_64//usr/share/applications/runescape.desktop 
   43s] WARNING: absolute path in Icon line: /home/abuild/rpmbuild/BUILDROOT/unix-runescape-client-4.3.5-6.1.x86_64//usr/share/applications/runescape.desktop
   43s] ERROR: No sufficient Category definition: /home/abuild/rpmbuild/BUILDROOT/unix-runescape-client-4.3.5-6.1.x86_64//usr/share/applications/runescape-oldschool.desktop 
   43s] WARNING: absolute path in Icon line: /home/abuild/rpmbuild/BUILDROOT/unix-runescape-client-4.3.5-6.1.x86_64//usr/share/applications/runescape-oldschool.desktop
   43s] ERROR: No sufficient Category definition: /home/abuild/rpmbuild/BUILDROOT/unix-runescape-client-4.3.5-6.1.x86_64//usr/share/applications/runescape-update-client.desktop 
   43s] WARNING: absolute path in Icon line: /home/abuild/rpmbuild/BUILDROOT/unix-runescape-client-4.3.5-6.1.x86_64//usr/share/applications/runescape-update-client.desktop
   43s] Errors in installed desktop file detected. Please refer to http://en.opensuse.org/SUSE_Package_Conventions/RPM_Macros
   43s] error: Bad exit status from /var/tmp/rpm-tmp.xPTLp8 (%install)

all three desktop config files have the Categories field:


Categories=GNOME;GTK;Game;

how do I have to edit this field in order to get the build work?

Thanks for your time,
Brenton

You probably need to add more specific Game category. See https://en.opensuse.org/openSUSE:Packaging_desktop_menu_categories

Thanks mate! Worked perfectly.