From 40a86dc13d90880132cfca679e3928560ddf90b2e7dc880f08037688ef738e7a Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Sun, 28 Oct 2012 08:51:15 +0000 Subject: [PATCH] fix build on SLE11 and older OBS-URL: https://build.opensuse.org/package/show/games/gnuchess?expand=0&rev=12 --- gnuchess.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnuchess.spec b/gnuchess.spec index 8353219..f8ea1c6 100644 --- a/gnuchess.spec +++ b/gnuchess.spec @@ -57,7 +57,11 @@ sed -i 's/^Book[[:space:]]*=[[:space:]]*false/Book = true/;s/^OwnBook[[:space:]] sh %{SOURCE3} %{SOURCE1} %install +%if 0%{?suse_version} > 1110 %make_install +%else +%makeinstall +%endif mkdir -p %{buildroot}%{_mandir}/man6 cp %{SOURCE4} %{buildroot}%{_mandir}/man6 # install xgnuchess