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.