[packages/ghc-http-types] - pl, dependencies

qboosh qboosh at pld-linux.org
Mon Jul 21 21:34:13 CEST 2025


commit 98d9a5668be813efb0eca057fec8414fe18116c7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jul 21 21:35:57 2025 +0200

    - pl, dependencies

 ghc-http-types.spec | 40 +++++++++++++++++++++++++++++++++-------
 1 file changed, 33 insertions(+), 7 deletions(-)
---
diff --git a/ghc-http-types.spec b/ghc-http-types.spec
index c734a9c..5b15f1c 100644
--- a/ghc-http-types.spec
+++ b/ghc-http-types.spec
@@ -4,6 +4,7 @@
 #
 %define		pkgname	http-types
 Summary:	Generic HTTP types for Haskell (for both client and server code)
+Summary(pl.UTF-8):	Ogólne typy HTTP dla Haskella (zarówno dla kodu klienta, jak i serwera)
 Name:		ghc-%{pkgname}
 Version:	0.12.3
 Release:	2
@@ -14,15 +15,31 @@ Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
 # Source0-md5:	4a6ac49ca3b3379e0feec3e9d0f6e5ea
 URL:		http://hackage.haskell.org/package/http-types
 BuildRequires:	ghc >= 6.12.3
-BuildRequires:	ghc-case-insensitive
+BuildRequires:	ghc-array >= 0.2
+BuildRequires:	ghc-array < 0.6
+BuildRequires:	ghc-base >= 4
+BuildRequires:	ghc-base < 5
+BuildRequires:	ghc-bytestring >= 0.10.4.0
+BuildRequires:	ghc-bytestring < 1
+BuildRequires:	ghc-case-insensitive >= 0.2
+BuildRequires:	ghc-case-insensitive < 1.3
+BuildRequires:	ghc-text >= 0.11.0.2
 %if %{with prof}
 BuildRequires:	ghc-prof
-BuildRequires:	ghc-case-insensitive-prof
+BuildRequires:	ghc-array-prof >= 0.2
+BuildRequires:	ghc-base-prof >= 4
+BuildRequires:	ghc-bytestring-prof >= 0.10.4.0
+BuildRequires:	ghc-case-insensitive-prof >= 0.2
+BuildRequires:	ghc-text-prof >= 0.11.0.2
 %endif
 BuildRequires:	rpmbuild(macros) >= 1.608
 %requires_eq	ghc
 Requires(post,postun):	/usr/bin/ghc-pkg
-Requires:	ghc-case-insensitive
+Requires:	ghc-array >= 0.2
+Requires:	ghc-base >= 4
+Requires:	ghc-bytestring >= 0.10.4.0
+Requires:	ghc-case-insensitive >= 0.2
+Requires:	ghc-text >= 0.11.0.2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # debuginfo is not useful for ghc
@@ -34,16 +51,24 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Generic HTTP types for Haskell (for both client and server code).
 
+%description -l pl.UTF-8
+Ogólne typy HTTP dla Haskella (zarówno dla kodu klienta, jak i
+serwera).
+
 %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-case-insensitive-prof
+Requires:	ghc-array-prof >= 0.2
+Requires:	ghc-base-prof >= 4
+Requires:	ghc-bytestring-prof >= 0.10.4.0
+Requires:	ghc-case-insensitive-prof >= 0.2
+Requires:	ghc-text-prof >= 0.11.0.2
 
 %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
@@ -61,6 +86,7 @@ runhaskell Setup.hs configure -v2 \
 	--docdir=%{_docdir}/%{name}-%{version}
 
 runhaskell Setup.hs build
+
 runhaskell Setup.hs haddock --executables
 
 %install
@@ -91,7 +117,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc CHANGELOG README %{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-http-types.git/commitdiff/98d9a5668be813efb0eca057fec8414fe18116c7



More information about the pld-cvs-commit mailing list