Accepting request 304574 from devel:languages:haskell:lts

- update to 0.3.13
* `pushrawhsfunction` and `registerrawhsfunction` functions are added.
* `luaL_ref` and `luaL_unref` functions are added.

OBS-URL: https://build.opensuse.org/request/show/304574
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslua?expand=0&rev=9
This commit is contained in:
Peter Trommler 2015-05-02 10:02:18 +00:00 committed by Git OBS Bridge
parent 058a00a7ef
commit c18518d971
4 changed files with 15 additions and 14 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Apr 21 11:57:18 UTC 2015 - mimi.vx@gmail.com
- update to 0.3.13
* `pushrawhsfunction` and `registerrawhsfunction` functions are added.
* `luaL_ref` and `luaL_unref` functions are added.
-------------------------------------------------------------------
Tue Apr 7 16:55:39 UTC 2015 - peter.trommler@ohm-hochschule.de

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-hslua
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,15 +15,16 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%global pkg_name hslua
Name: ghc-hslua
Version: 0.3.9
Version: 0.3.13
Release: 0
Summary: A Lua language interpreter embedding in Haskell
License: MIT
Group: System/Libraries
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -33,7 +34,7 @@ BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-mtl-devel
# End cabal-rpm deps
%if 0%{?sles_version}
%if 0%{?suse_version} == 1110
BuildRequires: lua-devel
%else
BuildRequires: lua51-devel
@ -66,31 +67,24 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%define cabal_configure_options -f system-lua
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%defattr(-,root,root,-)
%doc COPYRIGHT
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%changelog

3
hslua-0.3.13.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e95774d21ac4378e799af4b8dce9068bfedd3109bf13b717d9ecb5817f86430a
size 128230

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec00c9afca374b7e8f17eadcaf6b6ab6ec7b39633f6e73f783919f1998834967
size 127831