- Proper lua-devel BuildRequires for SLE_11

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslua?expand=0&rev=3
This commit is contained in:
Scott Bahling 2013-11-01 15:39:29 +00:00 committed by Git OBS Bridge
parent f4e88f448a
commit b698fa7c9a
2 changed files with 14 additions and 0 deletions

View File

@ -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 Mon Oct 21 20:44:15 UTC 2013 - sbahling@suse.com

View File

@ -35,7 +35,12 @@ BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps: # Begin cabal-rpm deps:
BuildRequires: ghc-mtl-devel BuildRequires: ghc-mtl-devel
# End cabal-rpm deps # End cabal-rpm deps
%if 0%{?suse_version}
BuildRequires: lua-devel
%else
BuildRequires: lua51-devel BuildRequires: lua51-devel
%endif
BuildRequires: pkgconfig BuildRequires: pkgconfig
%description %description
@ -49,7 +54,11 @@ Group: Development/Libraries/Other
Provides: %{name}-static = %{version}-%{release} Provides: %{name}-static = %{version}-%{release}
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version} Requires: ghc-compiler = %{ghc_version}
%if 0%{?suse_version}
Requires: lua-devel
%else
Requires: lua51-devel Requires: lua51-devel
%endif
%description devel %description devel
This package provides the Haskell %{pkg_name} library development files. This package provides the Haskell %{pkg_name} library development files.