packages: ghc-haskell-platform/ghc-haskell-platform.spec - rel 3 - install ...

baggins baggins at pld-linux.org
Sat Oct 22 10:45:49 CEST 2011


Author: baggins                      Date: Sat Oct 22 08:45:49 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3
- install docs

---- Files affected:
packages/ghc-haskell-platform:
   ghc-haskell-platform.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: packages/ghc-haskell-platform/ghc-haskell-platform.spec
diff -u packages/ghc-haskell-platform/ghc-haskell-platform.spec:1.16 packages/ghc-haskell-platform/ghc-haskell-platform.spec:1.17
--- packages/ghc-haskell-platform/ghc-haskell-platform.spec:1.16	Tue Sep 27 22:44:55 2011
+++ packages/ghc-haskell-platform/ghc-haskell-platform.spec	Sat Oct 22 10:45:43 2011
@@ -3,7 +3,7 @@
 Summary:	Comprehensive, robust development environment for programming in Haskell
 Name:		ghc-%{pkgname}
 Version:	2011.2.0.1
-Release:	2
+Release:	3
 License:	BSD
 Group:		Development/Languages
 #Source0:	http://hackage.haskell.org/platform/%{version}/%{pkgname}-%{version}.tar.gz
@@ -108,15 +108,14 @@
 	ghcdir=%{ghcdir} \
 	DESTDIR=$RPM_BUILD_ROOT
 
-# apparently there is no documentation O.o
 # work around automatic haddock docs installation
-#rm -rf %{name}-%{version}-doc
-#cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
+%{__rm} -rf %{name}-%{version}-doc
+cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
 
-rm $RPM_BUILD_ROOT%{_bindir}/{alex,cabal,happy}
-rm -f $RPM_BUILD_ROOT%{_bindir}/*-tests
-rm -r $RPM_BUILD_ROOT%{_datadir}/{alex,happy}*
-rm -rf $RPM_BUILD_ROOT%{_datadir}/HUnit*
+%{__rm} $RPM_BUILD_ROOT%{_bindir}/{alex,cabal,happy}
+%{__rm} $RPM_BUILD_ROOT%{_bindir}/*-tests
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/{alex,happy}*
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/HUnit*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -129,7 +128,7 @@
 
 %files
 %defattr(644,root,root,755)
-#doc %{name}-%{version}-doc/html
+%doc %{name}-%{version}-doc/html
 %dir %{_libdir}/%{ghcdir}/mtl-*
 %dir %{_libdir}/%{ghcdir}/mtl-*/Control
 %dir %{_libdir}/%{ghcdir}/mtl-*/Control/Monad
@@ -486,6 +485,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2011/10/22 08:45:43  baggins
+- rel 3
+- install docs
+
 Revision 1.16  2011/09/27 20:44:55  baggins
 - rel 2
 - builds with ghc 7.2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc-haskell-platform/ghc-haskell-platform.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list