From cc4a19f4512d8fb6e9523dfbecb616a2dbe97043dc355b82d85187f164610fc3 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 9 Feb 2012 21:09:10 +0000 Subject: [PATCH] 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 --- fillets-ng.changes | 6 ++++++ fillets-ng.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/fillets-ng.changes b/fillets-ng.changes index 3a33abe..9e80b98 100644 --- a/fillets-ng.changes +++ b/fillets-ng.changes @@ -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 diff --git a/fillets-ng.spec b/fillets-ng.spec index d965f17..3750e67 100644 --- a/fillets-ng.spec +++ b/fillets-ng.spec @@ -33,7 +33,11 @@ BuildRequires: SDL_mixer-devel BuildRequires: SDL_ttf-devel BuildRequires: fribidi-devel BuildRequires: gcc-c++ +%if 0%{?suse_version} < 1220 BuildRequires: lua-devel +%else +BuildRequires: lua51-devel +%endif BuildRequires: pkgconfig BuildRequires: update-desktop-files Requires: %{name}-data = %{version}