[packages/ghc-random] Fix build error

caleb caleb at pld-linux.org
Fri May 24 16:38:24 CEST 2013


commit 941d6c760079bea98f0f75c3fbe497dbb6cd98d6
Author: Caleb Maclennan <caleb at pld-linux.org>
Date:   Fri May 24 17:37:15 2013 +0300

    Fix build error

 ghc-random.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/ghc-random.spec b/ghc-random.spec
index c12d9d7..1f68a29 100644
--- a/ghc-random.spec
+++ b/ghc-random.spec
@@ -75,6 +75,7 @@ cp -a $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
 
+rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-random.git/commitdiff/941d6c760079bea98f0f75c3fbe497dbb6cd98d6



More information about the pld-cvs-commit mailing list