commit 82247dfd47e6aef80e781110b7bdde3485bf703c
Author: Jan RÄ™korajski <[email protected]>
Date:   Fri May 31 21:31:16 2013 +0200

    - fixed doc install
    - rel 4

 ghc-pcre-light.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/ghc-pcre-light.spec b/ghc-pcre-light.spec
index 8af500d..ee0baf4 100644
--- a/ghc-pcre-light.spec
+++ b/ghc-pcre-light.spec
@@ -2,7 +2,7 @@
 Summary:       A library for Perl 5 compatible regular expressions
 Name:          ghc-%{pkgname}
 Version:       0.4
-Release:       3
+Release:       4
 License:       BSD
 Group:         Development/Languages
 Source0:       
http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
@@ -52,8 +52,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}/html
 
 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-pcre-light.git/commitdiff/82247dfd47e6aef80e781110b7bdde3485bf703c

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

Reply via email to