fix build on SLE11 and older

OBS-URL: https://build.opensuse.org/package/show/games/gnuchess?expand=0&rev=12
This commit is contained in:
Lars Vogdt 2012-10-28 08:51:15 +00:00 committed by Git OBS Bridge
parent 16b02f13cb
commit 40a86dc13d

View File

@ -57,7 +57,11 @@ sed -i 's/^Book[[:space:]]*=[[:space:]]*false/Book = true/;s/^OwnBook[[:space:]]
sh %{SOURCE3} %{SOURCE1} sh %{SOURCE3} %{SOURCE1}
%install %install
%if 0%{?suse_version} > 1110
%make_install %make_install
%else
%makeinstall
%endif
mkdir -p %{buildroot}%{_mandir}/man6 mkdir -p %{buildroot}%{_mandir}/man6
cp %{SOURCE4} %{buildroot}%{_mandir}/man6 cp %{SOURCE4} %{buildroot}%{_mandir}/man6
# install xgnuchess # install xgnuchess