commit 498893a79c17f54fa77d10304abb29939b3d953d
Author: Jan RÄ™korajski <[email protected]>
Date:   Fri Oct 11 11:11:50 2013 +0200

    - fix docs install
    - rel 2

 ghc-attoparsec.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/ghc-attoparsec.spec b/ghc-attoparsec.spec
index 7ef29f0..72c52ab 100644
--- a/ghc-attoparsec.spec
+++ b/ghc-attoparsec.spec
@@ -2,7 +2,7 @@
 Summary:       Fast combinator parsing for bytestrings
 Name:          ghc-%{pkgname}
 Version:       0.10.2.0
-Release:       1
+Release:       2
 License:       BSD3
 Group:         Development/Languages
 Source0:       
http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
@@ -60,8 +60,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} %{name}-%{version}-doc
+%{__rm} -rf $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-attoparsec.git/commitdiff/498893a79c17f54fa77d10304abb29939b3d953d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to