SHA256
1
0
forked from pool/wumpus
Ferdinand Thiessen 2016-05-15 10:51:41 +00:00 committed by Git OBS Bridge
parent 6c1cb9eaa6
commit ec2177a609

View File

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