template-specs: ghc-package.spec - safekeep all docs, not only html
baggins
baggins at pld-linux.org
Thu Apr 8 23:56:19 CEST 2010
Author: baggins Date: Thu Apr 8 21:56:19 2010 GMT
Module: template-specs Tag: HEAD
---- Log message:
- safekeep all docs, not only html
---- Files affected:
template-specs:
ghc-package.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: template-specs/ghc-package.spec
diff -u template-specs/ghc-package.spec:1.8 template-specs/ghc-package.spec:1.9
--- template-specs/ghc-package.spec:1.8 Thu Apr 8 23:53:15 2010
+++ template-specs/ghc-package.spec Thu Apr 8 23:56:14 2010
@@ -37,9 +37,8 @@
runhaskell Setup.hs copy --destdir=$RPM_BUILD_ROOT
# work around automatic haddock docs installation
-rm -rf %{name}-%{version}/html
-mkdir %{name}-%{version}
-cp -a $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}/html %{name}-%{version}/
+rm -rf %{name}-%{version}-doc
+cp -a $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version} %{name}-%{version}-doc
runhaskell Setup.hs register \
--gen-pkg-config=$RPM_BUILD_ROOT/%{_libdir}/%{libsubdir}/%{pkgname}.conf
@@ -58,7 +57,7 @@
%files
%defattr(644,root,root,755)
%doc NEWS
-%doc %{name}-%{version}/html
+%doc %{name}-%{version}-doc/html
%{_libdir}/%{libsubdir}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -67,6 +66,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2010/04/08 21:56:14 baggins
+- safekeep all docs, not only html
+
Revision 1.8 2010/04/08 21:53:15 baggins
- require ghc with haddock
- work around automatic docs installation to docdir
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/ghc-package.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list