]> git.pld-linux.org Git - packages/ghc-haskell-platform.git/commitdiff
- rel 3 auto/th/ghc-haskell-platform-2011_2_0_1-3
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 22 Oct 2011 08:45:43 +0000 (08:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- install docs

Changed files:
    ghc-haskell-platform.spec -> 1.17

ghc-haskell-platform.spec

index df9714b8e9d31246a3e8a046b63399d7dc03a355..af2ac90d3b2b7183cef5b96856604afe98dd3c99 100644 (file)
@@ -2,7 +2,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
@@ -107,15 +107,14 @@ install -d $RPM_BUILD_ROOT%{_libdir}/%{ghcdir}/package.conf.d
        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
@@ -128,7 +127,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
This page took 0.078028 seconds and 4 git commands to generate.