[packages/ghc-x509-validation] - pl, completed dependencies

qboosh qboosh at pld-linux.org
Sat Mar 21 18:23:18 CET 2026


commit 52007aa0365d81f27b3fc40ddf5bf3ee89b47585
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 21 18:23:31 2026 +0100

    - pl, completed dependencies

 ghc-x509-validation.spec | 47 ++++++++++++++++++++++++++++++++++-------------
 1 file changed, 34 insertions(+), 13 deletions(-)
---
diff --git a/ghc-x509-validation.spec b/ghc-x509-validation.spec
index e2bb6c1..5d8ef86 100644
--- a/ghc-x509-validation.spec
+++ b/ghc-x509-validation.spec
@@ -4,6 +4,7 @@
 #
 %define		pkgname	x509-validation
 Summary:	X.509 Certificate and CRL validation
+Summary(pl.UTF-8):	Sprawdzanie poprawności certyfikatów i CRL X.509
 Name:		ghc-%{pkgname}
 Version:	1.6.11
 Release:	2
@@ -14,23 +15,37 @@ Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
 # Source0-md5:	e63bf32c356ee351348dc5e727bae6e7
 URL:		http://hackage.haskell.org/package/x509-validation
 BuildRequires:	ghc >= 6.12.3
-BuildRequires:	ghc-asn1-encoding
-BuildRequires:	ghc-asn1-types
+BuildRequires:	ghc-asn1-encoding >= 0.9
+BuildRequires:	ghc-asn1-encoding < 0.10
+BuildRequires:	ghc-asn1-types >= 0.3
+BuildRequires:	ghc-asn1-types < 0.4
+BuildRequires:	ghc-base >= 3
+BuildRequires:	ghc-base < 5
+BuildRequires:	ghc-bytestring
+BuildRequires:	ghc-containers
 BuildRequires:	ghc-cryptonite >= 0.24
 BuildRequires:	ghc-data-default-class
 BuildRequires:	ghc-hourglass
 BuildRequires:	ghc-memory
+BuildRequires:	ghc-mtl
 BuildRequires:	ghc-pem >= 0.1
 BuildRequires:	ghc-x509 >= 1.7.5
 BuildRequires:	ghc-x509-store >= 1.6
 %if %{with prof}
-BuildRequires:	ghc-prof
-BuildRequires:	ghc-asn1-encoding-prof
-BuildRequires:	ghc-asn1-types-prof
+BuildRequires:	ghc-prof >= 6.12.3
+BuildRequires:	ghc-asn1-encoding-prof >= 0.9
+BuildRequires:	ghc-asn1-encoding-prof < 0.10
+BuildRequires:	ghc-asn1-types-prof >= 0.3
+BuildRequires:	ghc-asn1-types-prof < 0.4
+BuildRequires:	ghc-base-prof >= 3
+BuildRequires:	ghc-base-prof < 5
+BuildRequires:	ghc-bytestring-prof
+BuildRequires:	ghc-containers-prof
 BuildRequires:	ghc-cryptonite-prof >= 0.24
 BuildRequires:	ghc-data-default-class-prof
 BuildRequires:	ghc-hourglass-prof
 BuildRequires:	ghc-memory-prof
+BuildRequires:	ghc-mtl-prof
 BuildRequires:	ghc-pem-prof >= 0.1
 BuildRequires:	ghc-x509-prof >= 1.7.5
 BuildRequires:	ghc-x509-store-prof >= 1.6
@@ -38,8 +53,9 @@ BuildRequires:	ghc-x509-store-prof >= 1.6
 BuildRequires:	rpmbuild(macros) >= 1.608
 %requires_eq	ghc
 Requires(post,postun):	/usr/bin/ghc-pkg
-Requires:	ghc-asn1-encoding
-Requires:	ghc-asn1-types
+Requires:	ghc-asn1-encoding >= 0.9
+Requires:	ghc-asn1-types >= 0.3
+Requires:	ghc-base >= 3
 Requires:	ghc-cryptonite >= 0.24
 Requires:	ghc-data-default-class
 Requires:	ghc-hourglass
@@ -56,14 +72,19 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define		_noautocompressdoc	*.haddock
 
 %description
+X.509 Certificate and CRL validation.
+
+%description -l pl.UTF-8
+Sprawdzanie poprawności certyfikatów i CRL X.509.
 
 %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-asn1-encoding-prof
-Requires:	ghc-asn1-types-prof
+Requires:	ghc-asn1-encoding-prof >= 0.9
+Requires:	ghc-asn1-types-prof >= 0.3
+Requires:	ghc-base-prof >= 3
 Requires:	ghc-cryptonite-prof >= 0.24
 Requires:	ghc-data-default-class-prof
 Requires:	ghc-hourglass-prof
@@ -73,8 +94,8 @@ Requires:	ghc-x509-prof >= 1.7.5
 Requires:	ghc-x509-store-prof >= 1.6
 
 %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
@@ -92,6 +113,7 @@ runhaskell Setup.hs configure -v2 \
 	--docdir=%{_docdir}/%{name}-%{version}
 
 runhaskell Setup.hs build
+
 runhaskell Setup.hs haddock --executables
 
 %install
@@ -102,8 +124,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-validation.git/commitdiff/52007aa0365d81f27b3fc40ddf5bf3ee89b47585



More information about the pld-cvs-commit mailing list