[packages/ghc-async] - pl, dependencies
qboosh
qboosh at pld-linux.org
Wed Jul 23 16:37:58 CEST 2025
commit cbb6b7dbf7c9c883c3b6131019f940e3cabee4ef
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Jul 23 16:39:44 2025 +0200
- pl, dependencies
ghc-async.spec | 35 ++++++++++++++++++++++++++---------
1 file changed, 26 insertions(+), 9 deletions(-)
---
diff --git a/ghc-async.spec b/ghc-async.spec
index 4927448..d7196be 100644
--- a/ghc-async.spec
+++ b/ghc-async.spec
@@ -4,6 +4,7 @@
#
%define pkgname async
Summary: Run IO operations asynchronously and wait for their results
+Summary(pl.UTF-8): Asynchroniczne uruchamianie operacji we/wy i oczekiwanie na wyniki
Name: ghc-%{pkgname}
Version: 2.2.2
Release: 2
@@ -14,16 +15,25 @@ Source0: http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
# Source0-md5: fd7d08448469e87939ebdea392e1783d
Patch0: ghc-8.10.patch
URL: http://hackage.haskell.org/package/async
-BuildRequires: ghc >= 6.12.3
-BuildRequires: ghc-hashable
+BuildRequires: ghc >= 7.0.1
+BuildRequires: ghc >= 7.0.1
+BuildRequires: ghc-base >= 4.3
+BuildRequires: ghc-hashable >= 1.1.2.0
+BuildRequires: ghc-hashable < 1.4
+BuildRequires: ghc-stm >= 2.2
+BuildRequires: ghc-stm < 2.6
%if %{with prof}
-BuildRequires: ghc-prof
-BuildRequires: ghc-hashable-prof
+BuildRequires: ghc-prof >= 7.0.1
+BuildRequires: ghc-base-prof >= 4.3
+BuildRequires: ghc-hashable-prof >= 1.1.2.0
+BuildRequires: ghc-stm-prof >= 2.2
%endif
BuildRequires: rpmbuild(macros) >= 1.608
%requires_eq ghc
Requires(post,postun): /usr/bin/ghc-pkg
-Requires: ghc-hashable
+Requires: ghc-base >= 4.3
+Requires: ghc-hashable >= 1.1.2.0
+Requires: ghc-stm >= 2.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# debuginfo is not useful for ghc
@@ -33,17 +43,23 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _noautocompressdoc *.haddock
%description
+Run IO operations asynchronously and wait for their results.
+
+%description -l pl.UTF-8
+Asynchroniczne uruchamianie operacji we/wy i oczekiwanie na wyniki.
%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-hashable-prof
+Requires: ghc-base-prof >= 4.3
+Requires: ghc-hashable-prof >= 1.1.2.0
+Requires: ghc-stm-prof >= 2.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
@@ -62,6 +78,7 @@ runhaskell Setup.hs configure -v2 \
--docdir=%{_docdir}/%{name}-%{version}
runhaskell Setup.hs build
+
runhaskell Setup.hs haddock --executables
%install
@@ -92,7 +109,7 @@ rm -rf $RPM_BUILD_ROOT
%doc changelog.md %{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-async.git/commitdiff/cbb6b7dbf7c9c883c3b6131019f940e3cabee4ef
More information about the pld-cvs-commit
mailing list