[packages/ghc-tagsoup] - simplified docs cleaning
qboosh
qboosh at pld-linux.org
Fri Mar 27 17:39:35 CET 2026
commit 0f14b5eaaff1a16f5a4d2f2c1f89ed1f867b6092
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Mar 27 17:39:48 2026 +0100
- simplified docs cleaning
ghc-tagsoup.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ghc-tagsoup.spec b/ghc-tagsoup.spec
index 43b6468..2a5e591 100644
--- a/ghc-tagsoup.spec
+++ b/ghc-tagsoup.spec
@@ -100,6 +100,7 @@ runhaskell Setup.hs configure -v2 \
--docdir=%{_docdir}/%{name}-%{version}
runhaskell Setup.hs build
+
runhaskell Setup.hs haddock --executables
%install
@@ -110,8 +111,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-tagsoup.git/commitdiff/0f14b5eaaff1a16f5a4d2f2c1f89ed1f867b6092
More information about the pld-cvs-commit
mailing list