diff --git a/ghc-hslua.changes b/ghc-hslua.changes index fb9336b..0473ca8 100644 --- a/ghc-hslua.changes +++ b/ghc-hslua.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 17 09:35:36 UTC 2017 - dimstar@opensuse.org + +- Fix build with the new lua package layout by specifying + --extra-include-dirs based on lua.pc. + ------------------------------------------------------------------- Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com diff --git a/ghc-hslua.spec b/ghc-hslua.spec index 494371e..6119845 100644 --- a/ghc-hslua.spec +++ b/ghc-hslua.spec @@ -24,7 +24,7 @@ Release: 0 Summary: A Lua language interpreter embedding in Haskell License: MIT Group: Development/Languages/Haskell -URL: https://hackage.haskell.org/package/%{pkg_name} +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 @@ -64,7 +64,7 @@ This package provides the Haskell %{pkg_name} library development files. %setup -q -n %{pkg_name}-%{version} %build -%define cabal_configure_options -fsystem-lua +%define cabal_configure_options -fsystem-lua --extra-include-dirs=$(pkg-config --variable=includedir lua) %ghc_lib_build %install