[packages/ghc-base16-bytestring] - pl, dependencies

qboosh qboosh at pld-linux.org
Mon Jul 21 19:00:35 CEST 2025


commit 96749e4913ec242da0cbbbb8b0702cfdfaa0f754
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jul 21 19:02:15 2025 +0200

    - pl, dependencies

 ghc-base16-bytestring.spec | 27 +++++++++++++++++++++++----
 1 file changed, 23 insertions(+), 4 deletions(-)
---
diff --git a/ghc-base16-bytestring.spec b/ghc-base16-bytestring.spec
index 6933f43..7a8de56 100644
--- a/ghc-base16-bytestring.spec
+++ b/ghc-base16-bytestring.spec
@@ -4,6 +4,7 @@
 #
 %define		pkgname	base16-bytestring
 Summary:	Fast base16 (hex) encoding and decoding for ByteStrings
+Summary(pl.UTF-8):	Szybkie kodowanie i dekodowanie base16 (szesnastkowe) dla typu ByteString
 Name:		ghc-%{pkgname}
 Version:	0.1.1.6
 Release:	2
@@ -14,12 +15,22 @@ Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
 # Source0-md5:	b6aac9d679d7dd84c3cd23cbc143eb29
 URL:		http://hackage.haskell.org/package/base16-bytestring
 BuildRequires:	ghc >= 6.12.3
+BuildRequires:	ghc-base >= 4
+BuildRequires:	ghc-base < 5
+BuildRequires:	ghc-bytestring >= 0.9
+BuildRequires:	ghc-ghc-prim
 %if %{with prof}
-BuildRequires:	ghc-prof
+BuildRequires:	ghc-prof >= 6.12.3
+BuildRequires:	ghc-base-prof >= 4
+BuildRequires:	ghc-bytestring-prof >= 0.9
+BuildRequires:	ghc-ghc-prim-prof
 %endif
 BuildRequires:	rpmbuild(macros) >= 1.608
 %requires_eq	ghc
 Requires(post,postun):	/usr/bin/ghc-pkg
+Requires:	ghc-base >= 4
+Requires:	ghc-bytestring >= 0.9
+Requires:	ghc-ghc-prim
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # debuginfo is not useful for ghc
@@ -31,15 +42,22 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Fast base16 (hex) encoding and decoding for ByteStrings.
 
+%description -l pl.UTF-8
+Szybkie kodowanie i dekodowanie base16 (szesnastkowe) dla typu
+ByteString.
+
 %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-bytestring-prof >= 0.9
+Requires:	ghc-ghc-prim-prof
 
 %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,6 +75,7 @@ runhaskell Setup.hs configure -v2 \
 	--docdir=%{_docdir}/%{name}-%{version}
 
 runhaskell Setup.hs build
+
 runhaskell Setup.hs haddock --executables
 
 %install
@@ -87,7 +106,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc README.markdown %{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-base16-bytestring.git/commitdiff/96749e4913ec242da0cbbbb8b0702cfdfaa0f754



More information about the pld-cvs-commit mailing list