[packages/ghc-bytestring-show] - up to 0.3.5.5 - fixed doc install

baggins baggins at pld-linux.org
Fri May 31 21:53:02 CEST 2013


commit c68a487284810e9eda6e32766f3ad58d252a08b8
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri May 31 21:52:49 2013 +0200

    - up to 0.3.5.5
    - fixed doc install

 ghc-bytestring-show.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/ghc-bytestring-show.spec b/ghc-bytestring-show.spec
index 7b913b0..63ad3ff 100644
--- a/ghc-bytestring-show.spec
+++ b/ghc-bytestring-show.spec
@@ -1,12 +1,12 @@
 %define		pkgname	bytestring-show
 Summary:	Efficient conversion of values into readable byte strings
 Name:		ghc-%{pkgname}
-Version:	0.3.5
+Version:	0.3.5.5
 Release:	1
 License:	BSD
 Group:		Development/Languages
 Source0:	http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
-# Source0-md5:	934edba94aeceef6e9fc1b174d4f94ea
+# Source0-md5:	7ed08495da103ecc17b90dce70d1ca39
 URL:		http://hackage.haskell.org/package/bytestring-show/
 BuildRequires:	ghc >= 6.12.3
 BuildRequires:	rpmbuild(macros) >= 1.608
@@ -50,8 +50,9 @@ install -d $RPM_BUILD_ROOT%{_libdir}/%{ghcdir}/package.conf.d
 runhaskell 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}
 
 runhaskell 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-bytestring-show.git/commitdiff/c68a487284810e9eda6e32766f3ad58d252a08b8



More information about the pld-cvs-commit mailing list