From b698fa7c9a1f7acfe932b1bbad63f87e5a63ae5cc29efb989e04e6f9707a47c4 Mon Sep 17 00:00:00 2001 From: Scott Bahling Date: Fri, 1 Nov 2013 15:39:29 +0000 Subject: [PATCH] - Proper lua-devel BuildRequires for SLE_11 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslua?expand=0&rev=3 --- ghc-hslua.changes | 5 +++++ ghc-hslua.spec | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/ghc-hslua.changes b/ghc-hslua.changes index 7a6ed49..7d24a69 100644 --- a/ghc-hslua.changes +++ b/ghc-hslua.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 1 15:35:25 UTC 2013 - sbahling@suse.com + +- Proper lua-devel BuildRequires for SLE_11 + ------------------------------------------------------------------- Mon Oct 21 20:44:15 UTC 2013 - sbahling@suse.com diff --git a/ghc-hslua.spec b/ghc-hslua.spec index 2eddd54..d8cb9d4 100644 --- a/ghc-hslua.spec +++ b/ghc-hslua.spec @@ -35,7 +35,12 @@ BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-mtl-devel # End cabal-rpm deps + +%if 0%{?suse_version} +BuildRequires: lua-devel +%else BuildRequires: lua51-devel +%endif BuildRequires: pkgconfig %description @@ -49,7 +54,11 @@ Group: Development/Libraries/Other Provides: %{name}-static = %{version}-%{release} Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} +%if 0%{?suse_version} +Requires: lua-devel +%else Requires: lua51-devel +%endif %description devel This package provides the Haskell %{pkg_name} library development files.