|
|
|
@ -3,14 +3,13 @@
|
|
|
|
|
%global pkg_name hslua
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 0.3.6.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Lua language interpreter embedding in Haskell
|
|
|
|
|
Version: 0.3.10
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Lua language interpreter embedded in Haskell
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
|
Patch1: hslua-system-lua.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
@ -20,7 +19,7 @@ BuildRequires: pkgconfig(lua)
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The Scripting.Lua module is a wrapper of Lua language interpreter as described
|
|
|
|
|
The Scripting.Lua module is a wrapper of the Lua language interpreter described
|
|
|
|
|
in www.lua.org.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -41,7 +40,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
%patch1 -p1 -b .orig
|
|
|
|
|
|
|
|
|
|
cabal-tweak-flag system-lua True
|
|
|
|
|
rm src/*.c src/*.h
|
|
|
|
@ -71,6 +69,13 @@ rm src/*.c src/*.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jan 22 2014 Jens Petersen <petersen@redhat.com> - 0.3.10-1
|
|
|
|
|
- update to 0.3.10 (#1009375)
|
|
|
|
|
- update license to MIT (#1009375)
|
|
|
|
|
see https://github.com/osa1/hslua/issues/14
|
|
|
|
|
- system-lua patch is now upstream
|
|
|
|
|
- tweak summary and description
|
|
|
|
|
|
|
|
|
|
* Wed Oct 16 2013 Jens Petersen <petersen@redhat.com> - 0.3.6.1-2
|
|
|
|
|
- add static provides to devel
|
|
|
|
|
|
|
|
|
|