From 8a5426037cca5374d8a2a8134cdd68af0a5b213f8f127da0e0b66e874b89f158 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 17 Aug 2017 09:51:00 +0000 Subject: [PATCH] Accepting request 517341 from home:dimstar:Factory - Fix build with the new lua package layout by specifying --extra-include-dirs based on lua.pc. OBS-URL: https://build.opensuse.org/request/show/517341 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslua?expand=0&rev=22 --- ghc-hslua.changes | 6 ++++++ ghc-hslua.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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