[projects/template-specs] - fixed doc install

baggins baggins at pld-linux.org
Fri May 31 22:08:56 CEST 2013


commit e9a2fb6c95be798e6eaf4c21215b5ceb516ed6db
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri May 31 22:08:44 2013 +0200

    - fixed doc install

 ghc-package.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/ghc-package.spec b/ghc-package.spec
index eb2a070..f70c441 100644
--- a/ghc-package.spec
+++ b/ghc-package.spec
@@ -59,8 +59,9 @@ install -d $RPM_BUILD_ROOT%{_libdir}/%{ghcdir}/package.conf.d
 runhaskell Setup.lhs copy --destdir=$RPM_BUILD_ROOT
 
 # work around automatic haddock docs installation
-rm -rf %{name}-%{version}-doc
+%{__rm} -rf %{name}-%{version}-doc
 cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 
 runhaskell Setup.lhs register \
 	--gen-pkg-config=$RPM_BUILD_ROOT/%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/e9a2fb6c95be798e6eaf4c21215b5ceb516ed6db



More information about the pld-cvs-commit mailing list