update to 0.3.10, MIT license, drop patch, improve summary and description

This commit is contained in:
Jens Petersen 2014-01-22 10:25:14 +09:00
parent 83b037a077
commit 6450f9319f
3 changed files with 14 additions and 8 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/hslua-0.3.6.1.tar.gz /hslua-0.3.6.1.tar.gz
/hslua-0.3.10.tar.gz

View File

@ -3,14 +3,13 @@
%global pkg_name hslua %global pkg_name hslua
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.3.6.1 Version: 0.3.10
Release: 2%{?dist} Release: 1%{?dist}
Summary: Lua language interpreter embedding in Haskell Summary: Lua language interpreter embedded in Haskell
License: BSD License: MIT
URL: http://hackage.haskell.org/package/%{pkg_name} URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz 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-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
@ -20,7 +19,7 @@ BuildRequires: pkgconfig(lua)
# End cabal-rpm deps # End cabal-rpm deps
%description %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. in www.lua.org.
@ -41,7 +40,6 @@ This package provides the Haskell %{pkg_name} library development files.
%prep %prep
%setup -q -n %{pkg_name}-%{version} %setup -q -n %{pkg_name}-%{version}
%patch1 -p1 -b .orig
cabal-tweak-flag system-lua True cabal-tweak-flag system-lua True
rm src/*.c src/*.h rm src/*.c src/*.h
@ -71,6 +69,13 @@ rm src/*.c src/*.h
%changelog %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 * Wed Oct 16 2013 Jens Petersen <petersen@redhat.com> - 0.3.6.1-2
- add static provides to devel - add static provides to devel

View File

@ -1 +1 @@
a546b0ee90e88c6d74e1a3fd8bebdec0 hslua-0.3.6.1.tar.gz ed63e12a547211c0b5bf8eb96099c05f hslua-0.3.10.tar.gz