[packages/ghc-binary] - up to 0.7.1.0 - fixed doc install

baggins baggins at pld-linux.org
Fri May 31 21:54:03 CEST 2013


commit 6b3919325fc39f8f5e6485db1a2e6028262582b1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri May 31 21:53:51 2013 +0200

    - up to 0.7.1.0
    - fixed doc install

 ghc-binary.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/ghc-binary.spec b/ghc-binary.spec
index 7ae515b..6d6119a 100644
--- a/ghc-binary.spec
+++ b/ghc-binary.spec
@@ -1,12 +1,12 @@
 %define		pkgname	binary
 Summary:	Binary serialisation for Haskell values using lazy ByteStrings
 Name:		ghc-%{pkgname}
-Version:	0.5.0.2
-Release:	7
+Version:	0.7.1.0
+Release:	1
 License:	BSD
 Group:		Development/Languages
 Source0:	http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
-# Source0-md5:	6bf8f3d1441602c9ab09a75e3bd6e926
+# Source0-md5:	ae88f6bb387c4f91e667d38648b27f73
 URL:		http://hackage.haskell.org/package/binary/
 BuildRequires:	ghc >= 6.12.3
 BuildRequires:	rpmbuild(macros) >= 1.608
@@ -54,8 +54,9 @@ install -d $RPM_BUILD_ROOT%{_libdir}/%{ghcdir}/package.conf.d
 ./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}/html %{name}-%{version}-doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{name}-%{version}-doc
 
 ./Setup.lhs register \
 	--gen-pkg-config=$RPM_BUILD_ROOT/%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-binary.git/commitdiff/6b3919325fc39f8f5e6485db1a2e6028262582b1



More information about the pld-cvs-commit mailing list