diff --git a/wumpus.spec b/wumpus.spec index 2f87db1..64dece0 100644 --- a/wumpus.spec +++ b/wumpus.spec @@ -36,10 +36,8 @@ Patch0: %{name}-Makefile.patch Patch1: %{name}-superhack.c.patch # PATCH-FIX-UPSTREAM - wumpus-wumpus.c.patch -- Fix bad C++ code Patch2: %{name}-wumpus.c.patch -%if 0%{?suse_version} BuildRequires: hicolor-icon-theme BuildRequires: update-desktop-files -%endif BuildRequires: ncurses-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -69,9 +67,8 @@ make %{?_smp_mflags} CFLAGS="%{optflags}" # Symlink Manpage ln -sf %{_mandir}/man6/%{name}.6%{ext_man} %{buildroot}%{_mandir}/man6/%{oname}.6%{ext_man} -%if 0%{?suse_version} - %suse_update_desktop_file %{name} -%endif +%suse_update_desktop_file %{name} +%suse_update_desktop_file %{oname} %files %defattr(-,root,root,-)