[packages/ghc-basement] - pl, updated dependencies

qboosh qboosh at pld-linux.org
Mon Jul 21 21:59:11 CEST 2025


commit 9a0c8e550d341b31c14cea3bdbccd1ac2693c269
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jul 21 22:00:54 2025 +0200

    - pl, updated dependencies

 ghc-basement.spec | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/ghc-basement.spec b/ghc-basement.spec
index 91a6656..aea3fc4 100644
--- a/ghc-basement.spec
+++ b/ghc-basement.spec
@@ -4,6 +4,7 @@
 #
 %define		pkgname	basement
 Summary:	Foundation scrap box of array & string
+Summary(pl.UTF-8):	Podstawa pudełka na złom tablic i łańcuchów znaków
 Name:		ghc-%{pkgname}
 Version:	0.0.11
 Release:	2
@@ -13,9 +14,13 @@ Group:		Development/Languages
 Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5:	dc1ffab6a43e42f147769af6fe564742
 URL:		http://hackage.haskell.org/package/basement
-BuildRequires:	ghc >= 6.12.3
+BuildRequires:	ghc >= 8.0
+BuildRequires:	ghc-base
+BuildRequires:	ghc-ghc-prim
 %if %{with prof}
-BuildRequires:	ghc-prof
+BuildRequires:	ghc-prof >= 8.0
+BuildRequires:	ghc-base-prof
+BuildRequires:	ghc-ghc-prim-prof
 %endif
 BuildRequires:	rpmbuild(macros) >= 1.608
 %requires_eq	ghc
@@ -31,6 +36,9 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Foundation most basic primitives without any dependencies.
 
+%description -l pl.UTF-8
+Podstawa większości podstawowych prymitywów bez zależności.
+
 %package prof
 Summary:	Profiling %{pkgname} library for GHC
 Summary(pl.UTF-8):	Biblioteka profilująca %{pkgname} dla GHC
@@ -38,8 +46,8 @@ Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
 %description prof
-Profiling %{pkgname} library for GHC.  Should be installed when
-GHC's profiling subsystem is needed.
+Profiling %{pkgname} library for GHC. Should be installed when GHC's
+profiling subsystem is needed.
 
 %description prof -l pl.UTF-8
 Biblioteka profilująca %{pkgname} dla GHC. Powinna być zainstalowana
@@ -57,7 +65,9 @@ runhaskell Setup.hs configure -v2 \
 	--docdir=%{_docdir}/%{name}-%{version}
 
 runhaskell Setup.hs build
-LANG=C.UTF-8 LC_ALL=C.UTF-8 runhaskell Setup.hs haddock --executables
+
+LANG=C.UTF-8 LC_ALL=C.UTF-8 \
+runhaskell Setup.hs haddock --executables
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -87,7 +97,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc %{name}-%{version}-doc/*
 %{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
 %dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*.so
+%attr(755,root,root) %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*.so
 %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*.a
 %exclude %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*_p.a
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-basement.git/commitdiff/9a0c8e550d341b31c14cea3bdbccd1ac2693c269



More information about the pld-cvs-commit mailing list