[packages/ghc-x509-system] - pl, base dependencies

qboosh qboosh at pld-linux.org
Sat Mar 21 22:52:52 CET 2026


commit d1392559a7717f27c2830863187e2040c7148855
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 21 22:53:03 2026 +0100

    - pl, base dependencies

 ghc-x509-system.spec | 38 +++++++++++++++++++++++++++++++-------
 1 file changed, 31 insertions(+), 7 deletions(-)
---
diff --git a/ghc-x509-system.spec b/ghc-x509-system.spec
index 3382f65..c006220 100644
--- a/ghc-x509-system.spec
+++ b/ghc-x509-system.spec
@@ -3,7 +3,8 @@
 %bcond_without	prof	# profiling library
 #
 %define		pkgname	x509-system
-Summary:	Handle per-operating-system X.509 accessors and storage
+Summary:	System X.509 handling
+Summary(pl.UTF-8):	Systemowa obsługa X.509
 Name:		ghc-%{pkgname}
 Version:	1.6.6
 Release:	2
@@ -15,13 +16,31 @@ Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
 URL:		http://hackage.haskell.org/package/x509-system
 BuildRequires:	ghc >= 6.12.3
 BuildRequires:	ghc-asn1-encoding
+BuildRequires:	ghc-base >= 3
+BuildRequires:	ghc-base < 5
+BuildRequires:	ghc-bytestring
+BuildRequires:	ghc-containers
+BuildRequires:	ghc-directory
+BuildRequires:	ghc-filepath
+BuildRequires:	ghc-mtl
 BuildRequires:	ghc-pem >= 0.1
+BuildRequires:	ghc-pem < 0.3
+BuildRequires:	ghc-process
 BuildRequires:	ghc-x509 >= 1.6
 BuildRequires:	ghc-x509-store >= 1.6.2
 %if %{with prof}
-BuildRequires:	ghc-prof
+BuildRequires:	ghc-prof >= 6.12.3
 BuildRequires:	ghc-asn1-encoding-prof
+BuildRequires:	ghc-base-prof >= 3
+BuildRequires:	ghc-base-prof < 5
+BuildRequires:	ghc-bytestring-prof
+BuildRequires:	ghc-containers-prof
+BuildRequires:	ghc-directory-prof
+BuildRequires:	ghc-filepath-prof
+BuildRequires:	ghc-mtl-prof
 BuildRequires:	ghc-pem-prof >= 0.1
+BuildRequires:	ghc-pem-prof < 0.3
+BuildRequires:	ghc-process-prof
 BuildRequires:	ghc-x509-prof >= 1.6
 BuildRequires:	ghc-x509-store-prof >= 1.6.2
 %endif
@@ -29,6 +48,7 @@ BuildRequires:	rpmbuild(macros) >= 1.608
 %requires_eq	ghc
 Requires(post,postun):	/usr/bin/ghc-pkg
 Requires:	ghc-asn1-encoding
+Requires:	ghc-base >= 3
 Requires:	ghc-pem >= 0.1
 Requires:	ghc-x509 >= 1.6
 Requires:	ghc-x509-store >= 1.6.2
@@ -41,7 +61,10 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define		_noautocompressdoc	*.haddock
 
 %description
-System X.509 handling.
+Handle per-operating-system X.509 accessors and storage.
+
+%description -l pl.UTF-8
+Obsługa dostępu i przechowywania X.509 dla systemu operacyjnego.
 
 %package prof
 Summary:	Profiling %{pkgname} library for GHC
@@ -49,13 +72,14 @@ Summary(pl.UTF-8):	Biblioteka profilująca %{pkgname} dla GHC
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	ghc-asn1-encoding-prof
+Requires:	ghc-base-prof >= 3
 Requires:	ghc-pem-prof >= 0.1
 Requires:	ghc-x509-prof >= 1.6
 Requires:	ghc-x509-store-prof >= 1.6.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
@@ -73,6 +97,7 @@ runhaskell Setup.hs configure -v2 \
 	--docdir=%{_docdir}/%{name}-%{version}
 
 runhaskell Setup.hs build
+
 runhaskell Setup.hs haddock --executables
 
 %install
@@ -83,8 +108,7 @@ runhaskell Setup.hs copy --destdir=$RPM_BUILD_ROOT
 
 # work around automatic haddock docs installation
 %{__rm} -rf %{name}-%{version}-doc
-cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
 
 runhaskell Setup.hs register \
 	--gen-pkg-config=$RPM_BUILD_ROOT%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-x509-system.git/commitdiff/d1392559a7717f27c2830863187e2040c7148855



More information about the pld-cvs-commit mailing list