diff --git a/ghc-hslua.changes b/ghc-hslua.changes index 0473ca8..896e61e 100644 --- a/ghc-hslua.changes +++ b/ghc-hslua.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 21 18:24:02 UTC 2017 - psimons@suse.com + +- Update to version 0.9.3. + A more detailed change log is not available. + ------------------------------------------------------------------- Thu Aug 17 09:35:36 UTC 2017 - dimstar@opensuse.org diff --git a/ghc-hslua.spec b/ghc-hslua.spec index 5e2892f..f51bab6 100644 --- a/ghc-hslua.spec +++ b/ghc-hslua.spec @@ -19,7 +19,7 @@ %global pkg_name hslua %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.4.1 +Version: 0.9.3 Release: 0 Summary: A Lua language interpreter embedding in Haskell License: MIT @@ -28,32 +28,36 @@ URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-exceptions-devel +BuildRequires: ghc-fail-devel +BuildRequires: ghc-mtl-devel BuildRequires: ghc-rpm-macros -BuildRequires: lua51-devel -%if %{with tests} -BuildRequires: ghc-HUnit-devel -BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-hspec-contrib-devel -BuildRequires: ghc-hspec-devel -BuildRequires: ghc-quickcheck-instances-devel BuildRequires: ghc-text-devel +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-quickcheck-instances-devel +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-expected-failure-devel +BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-quickcheck-devel %endif %description -The Scripting.Lua module is a wrapper of Lua language interpreter as described -in [lua.org](http://www.lua.org/). +The Foreign.Lua module is a wrapper of Lua language interpreter as described on +. -This package contains full Lua interpreter version 5.1.5. If you want to link -it with system-wide Lua installation, use 'system-lua' flag. +This package contains a full Lua interpreter version 5.3.4. If you want to link +it with a system-wide Lua installation, use the 'system-lua' flag. -[Example programs](https://github.com/osa1/hslua/tree/master/examples). + are available in a +separate repository. %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} -Requires: lua51-devel Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} @@ -64,7 +68,7 @@ This package provides the Haskell %{pkg_name} library development files. %setup -q -n %{pkg_name}-%{version} %build -%define cabal_configure_options -fsystem-lua --extra-include-dirs=$(pkg-config --variable=includedir lua) +%define cabal_configure_options -f-system-lua %ghc_lib_build %install @@ -83,6 +87,6 @@ This package provides the Haskell %{pkg_name} library development files. %doc COPYRIGHT %files devel -f %{name}-devel.files -%doc CHANGELOG.md README.md examples +%doc CHANGELOG.md README.md %changelog diff --git a/hslua-0.4.1.tar.gz b/hslua-0.4.1.tar.gz deleted file mode 100644 index 6caba09..0000000 --- a/hslua-0.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2df2b4f0566ef2244506f9830e0207fce3bece7c331129f69f446c722136173f -size 130342 diff --git a/hslua-0.9.3.tar.gz b/hslua-0.9.3.tar.gz new file mode 100644 index 0000000..f99b662 --- /dev/null +++ b/hslua-0.9.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15e9699297da1534824a537e05fd76c8b115f3c32e550eaec3277ce5902386d6 +size 226260