[packages/ghc-hslua] - updated dependencies

qboosh qboosh at pld-linux.org
Mon Jul 21 19:06:32 CEST 2025


commit 6c8e4e603042864bb6d58d4b1159ab621a30a5be
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jul 21 19:08:14 2025 +0200

    - updated dependencies

 ghc-hslua.spec | 39 +++++++++++++++++++++++++++++++--------
 1 file changed, 31 insertions(+), 8 deletions(-)
---
diff --git a/ghc-hslua.spec b/ghc-hslua.spec
index 85163eb..c5beeef 100644
--- a/ghc-hslua.spec
+++ b/ghc-hslua.spec
@@ -15,14 +15,27 @@ Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
 # Source0-md5:	765647d6f5788fa12f5d82557e73786c
 URL:		http://hackage.haskell.org/package/hslua
 BuildRequires:	ghc >= 6.12.3
-BuildRequires:	ghc-base >= 4
+BuildRequires:	ghc-base >= 4.8
 BuildRequires:	ghc-base < 5
-BuildRequires:	ghc-mtl >= 2.1
+BuildRequires:	ghc-bytestring >= 0.10.2
+BuildRequires:	ghc-bytestring < 0.11
+BuildRequires:	ghc-containers >= 0.5
+BuildRequires:	ghc-containers < 0.7
+BuildRequires:	ghc-exceptions >= 0.8
+BuildRequires:	ghc-exceptions < 0.11
+BuildRequires:	ghc-mtl >= 2.2
+BuildRequires:	ghc-mtl < 2.3
+BuildRequires:	ghc-text >= 1.0
+BuildRequires:	ghc-text < 1.3
 %if %{with prof}
 BuildRequires:	ghc-prof >= 6.12.3
-BuildRequires:	ghc-base-prof >= 4
+BuildRequires:	ghc-base-prof >= 4.8
 BuildRequires:	ghc-base-prof < 5
+BuildRequires:	ghc-bytestring-prof >= 0.10.2
+BuildRequires:	ghc-containers-prof >= 0.5
+BuildRequires:	ghc-exceptions-prof >= 0.8
 BuildRequires:	ghc-mtl-prof >= 2.1
+BuildRequires:	ghc-text-prof >= 1.0
 %endif
 BuildRequires:	lua53-devel
 BuildRequires:	pkgconfig
@@ -30,9 +43,13 @@ BuildRequires:	rpmbuild(macros) >= 1.608
 BuildRequires:	sed >= 4.0
 Requires(post,postun):	/usr/bin/ghc-pkg
 %requires_eq	ghc
-Requires:	ghc-base >= 4
+Requires:	ghc-base >= 4.8
 Requires:	ghc-base < 5
+Requires:	ghc-bytestring >= 0.10.2
+Requires:	ghc-containers >= 0.5
+Requires:	ghc-exceptions >= 0.8
 Requires:	ghc-mtl >= 2.1
+Requires:	ghc-text >= 1.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # debuginfo is not useful for ghc
@@ -43,20 +60,25 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 The Foreign.Lua module is a wrapper of Lua language interpreter as
-described in <http://www.lua.org/>.
+described in <https://www.lua.org/>.
 
 %description -l pl.UTF-8
 Moduł Foreign.Lua to obudowanie interpretera języka Lua, opisanego
-na <http://www.lua.org/>.
+na <https://www.lua.org/>.
 
 %package prof
 Summary:	Profiling %{pkgname} library for GHC
 Summary(pl.UTF-8):	Biblioteka profilująca %{pkgname} dla GHC
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	ghc-base-prof >= 4
+Requires:	ghc-prof >= 6.12.3
+Requires:	ghc-base-prof >= 4.8
 Requires:	ghc-base-prof < 5
+Requires:	ghc-bytestring-prof >= 0.10.2
+Requires:	ghc-containers-prof >= 0.5
+Requires:	ghc-exceptions-prof >= 0.8
 Requires:	ghc-mtl-prof >= 2.1
+Requires:	ghc-text-prof >= 1.0
 
 %description prof
 Profiling %{pkgname} library for GHC. Should be installed when
@@ -90,6 +112,7 @@ runhaskell Setup.hs configure -v2 \
 	--docdir=%{_docdir}/%{name}-%{version} \
 
 runhaskell Setup.hs build
+
 runhaskell Setup.hs haddock --executables
 
 %install
@@ -120,7 +143,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc CHANGELOG.md LICENSE README.md
 %{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
 %dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHShslua-%{version}-*.so
+%attr(755,root,root) %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHShslua-%{version}-*.so
 %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHShslua-%{version}-*.a
 %exclude %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHShslua-%{version}-*_p.a
 %dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/Foreign
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-hslua.git/commitdiff/6c8e4e603042864bb6d58d4b1159ab621a30a5be



More information about the pld-cvs-commit mailing list