[packages/ghc-regex-base] - updated dependencies and description
qboosh
qboosh at pld-linux.org
Mon Mar 23 18:47:23 CET 2026
commit 64c9e99f7e67f475f1477f9c3b00373aab406297
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Mar 23 18:47:39 2026 +0100
- updated dependencies and description
ghc-regex-base.spec | 78 +++++++++++++++++++++++++++++++++--------------------
1 file changed, 49 insertions(+), 29 deletions(-)
---
diff --git a/ghc-regex-base.spec b/ghc-regex-base.spec
index 0306fb2..71a5d67 100644
--- a/ghc-regex-base.spec
+++ b/ghc-regex-base.spec
@@ -15,28 +15,41 @@ Source0: http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
# Source0-md5: 91f7a3e19e419fb048b8babfecc1294b
Patch0: ghc-8.10.patch
URL: http://hackage.haskell.org/package/regex-base
-BuildRequires: ghc >= 6.12.3
-BuildRequires: ghc-array
-BuildRequires: ghc-base >= 3.0
-BuildRequires: ghc-bytestring
-BuildRequires: ghc-containers
-BuildRequires: ghc-mtl
+BuildRequires: ghc >= 7.0.1
+BuildRequires: ghc-array >= 0.3
+BuildRequires: ghc-array < 0.6
+BuildRequires: ghc-base >= 4.3
+BuildRequires: ghc-bytestring >= 0.9.2.1
+BuildRequires: ghc-bytestring < 0.11
+BuildRequires: ghc-containers >= 0.4.2.1
+BuildRequires: ghc-containers < 0.7
+BuildRequires: ghc-mtl >= 1.1
+BuildRequires: ghc-mtl < 2.3
+BuildRequires: ghc-text >= 1.2.3
+BuildRequires: ghc-text < 1.3
%if %{with prof}
-BuildRequires: ghc-prof >= 6.12.3
-BuildRequires: ghc-array-prof
-BuildRequires: ghc-base-prof >= 3.0
-BuildRequires: ghc-bytestring-prof
-BuildRequires: ghc-containers-prof
-BuildRequires: ghc-mtl-prof
+BuildRequires: ghc-prof >= 7.0.1
+BuildRequires: ghc-array-prof >= 0.3
+BuildRequires: ghc-array-prof < 0.6
+BuildRequires: ghc-base-prof >= 4.3
+BuildRequires: ghc-bytestring-prof >= 0.9.2.1
+BuildRequires: ghc-bytestring-prof < 0.11
+BuildRequires: ghc-containers-prof >= 0.4.2.1
+BuildRequires: ghc-containers-prof < 0.7
+BuildRequires: ghc-mtl-prof >= 1.1
+BuildRequires: ghc-mtl-prof < 2.3
+BuildRequires: ghc-text-prof >= 1.2.3
+BuildRequires: ghc-text-prof < 1.3
%endif
BuildRequires: rpmbuild(macros) >= 1.608
Requires(post,postun): /usr/bin/ghc-pkg
%requires_eq ghc
-Requires: ghc-array
-Requires: ghc-base >= 3.0
-Requires: ghc-bytestring
-Requires: ghc-containers
-Requires: ghc-mtl
+Requires: ghc-array >= 0.3
+Requires: ghc-base >= 4.3
+Requires: ghc-bytestring >= 0.9.2.1
+Requires: ghc-containers >= 0.4.2.1
+Requires: ghc-mtl >= 1.1
+Requires: ghc-text >= 1.2.3
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# debuginfo is not useful for ghc
@@ -46,25 +59,32 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _noautocompressdoc *.haddock
%description
-Interface API for regex-posix,pcre,parsec,tdfa,dfa.
+This package doesn't provide the ability to do regex matching, but
+instead provides the type-classes that constitute the abstract API
+that is implemented by regex-* backends such as regex-posix,
+regex-parsec, regex-dfa, regex-tdfa, regex-pcre.
%description -l pl.UTF-8
-API interfejsu dla regex-posix,pcre,parsec,tdfa,dfa.
+Ten pakiet nie daje możliwości dopasowywania do wyrażeń regularnych,
+ale udostępnia klasy typów, tworzące abstrakcyjne API, implementowane
+przez backendy regex-*, takie jak regex-posix, regex-parsec,
+regex-dfa, regex-tdfa, regex-pcre.
%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-array-prof
-Requires: ghc-base-prof >= 3.0
-Requires: ghc-bytestring-prof
-Requires: ghc-containers-prof
-Requires: ghc-mtl-prof
+Requires: ghc-array-prof >= 0.3
+Requires: ghc-base-prof >= 4.3
+Requires: ghc-bytestring-prof >= 0.9.2.1
+Requires: ghc-containers-prof >= 0.4.2.1
+Requires: ghc-mtl-prof >= 1.1
+Requires: ghc-text-prof >= 1.2.3
%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
@@ -94,6 +114,7 @@ runhaskell Setup.hs configure -v2 \
--docdir=%{_docdir}/%{name}-%{version}
runhaskell Setup.hs build
+
runhaskell Setup.hs haddock --executables
%install
@@ -104,8 +125,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
@@ -121,7 +141,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc LICENSE
+%doc ChangeLog.md LICENSE
%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
%dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}
%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSregex-base-%{version}-*.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghc-regex-base.git/commitdiff/64c9e99f7e67f475f1477f9c3b00373aab406297
More information about the pld-cvs-commit
mailing list