[packages/ghc-QuickCheck] - doc stage fix
qboosh
qboosh at pld-linux.org
Sun May 26 17:18:52 CEST 2013
commit b58e751b4bcde8dcb0af064892a18228325a0b28
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun May 26 17:19:21 2013 +0200
- doc stage fix
ghc-QuickCheck.spec | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec
index c9c2dce..fa13b42 100644
--- a/ghc-QuickCheck.spec
+++ b/ghc-QuickCheck.spec
@@ -71,10 +71,10 @@ runhaskell Setup.lhs 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
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
runhaskell Setup.lhs register \
- --gen-pkg-config=$RPM_BUILD_ROOT/%{_libdir}/%{ghcdir}/package.conf.d/QuickCheck.conf
+ --gen-pkg-config=$RPM_BUILD_ROOT%{_libdir}/%{ghcdir}/package.conf.d/QuickCheck.conf
%clean
rm -rf $RPM_BUILD_ROOT
@@ -87,8 +87,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc LICENSE README
-%doc %{name}-%{version}-doc/*
+%doc LICENSE README %{name}-%{version}-doc/html
%{_libdir}/%{ghcdir}/package.conf.d/QuickCheck.conf
%dir %{_libdir}/%{ghcdir}/QuickCheck-%{version}
%{_libdir}/%{ghcdir}/QuickCheck-%{version}/*.o
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghc-QuickCheck.git/commitdiff/b58e751b4bcde8dcb0af064892a18228325a0b28
More information about the pld-cvs-commit
mailing list