[packages/ghc-digest] - simplified docs cleaning
qboosh
qboosh at pld-linux.org
Fri Mar 27 21:12:21 CET 2026
commit a9f8296b259e8acf64c678b315a65e10c528b9e5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Mar 27 21:12:36 2026 +0100
- simplified docs cleaning
ghc-digest.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/ghc-digest.spec b/ghc-digest.spec
index be9f141..c703fd8 100644
--- a/ghc-digest.spec
+++ b/ghc-digest.spec
@@ -60,8 +60,8 @@ Requires: ghc-base-prof < 5
Requires: ghc-bytestring-prof >= 0.9
%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
@@ -90,6 +90,7 @@ runhaskell Setup.hs configure -v2 \
--docdir=%{_docdir}/%{name}-%{version}
runhaskell Setup.hs build
+
runhaskell Setup.hs haddock --executables
%install
@@ -100,8 +101,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-digest.git/commitdiff/a9f8296b259e8acf64c678b315a65e10c528b9e5
More information about the pld-cvs-commit
mailing list