Fix build on Factory: BuildRequire lua 5.1 for now

OBS-URL: https://build.opensuse.org/package/show/games/fillets-ng?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2012-02-09 21:09:10 +00:00 committed by Git OBS Bridge
parent 50a86ea64e
commit cc4a19f451
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 9 21:08:28 UTC 2012 - dimstar@opensuse.org
- Conditionally BuildRequire lua51-devel on openSUSE 12.2+. This
game has not been ported to lua 5.2 yet.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 12 11:30:34 UTC 2012 - coolo@suse.com Thu Jan 12 11:30:34 UTC 2012 - coolo@suse.com

View File

@ -33,7 +33,11 @@ BuildRequires: SDL_mixer-devel
BuildRequires: SDL_ttf-devel BuildRequires: SDL_ttf-devel
BuildRequires: fribidi-devel BuildRequires: fribidi-devel
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%if 0%{?suse_version} < 1220
BuildRequires: lua-devel BuildRequires: lua-devel
%else
BuildRequires: lua51-devel
%endif
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
Requires: %{name}-data = %{version} Requires: %{name}-data = %{version}