[packages/ghc-uniplate] - up to 1.6.10 - fix doc install
baggins
baggins at pld-linux.org
Fri May 31 21:22:48 CEST 2013
commit 63caa190de2d7be8c25396776cb521fc356e8048
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri May 31 21:22:33 2013 +0200
- up to 1.6.10
- fix doc install
ghc-uniplate.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/ghc-uniplate.spec b/ghc-uniplate.spec
index d1fdb55..d5e64ad 100644
--- a/ghc-uniplate.spec
+++ b/ghc-uniplate.spec
@@ -1,12 +1,12 @@
%define pkgname uniplate
Summary: Help writing simple, concise and fast generic operations
Name: ghc-%{pkgname}
-Version: 1.6.2
-Release: 2
+Version: 1.6.10
+Release: 1
License: BSD
Group: Development/Languages
Source0: http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
-# Source0-md5: 869407a47843ee74bd8eb8607ae712d0
+# Source0-md5: 15d66ef37f5563e16e2077fe7b5377c2
URL: http://hackage.haskell.org/package/uniplate/
BuildRequires: ghc >= 6.12.3
BuildRequires: rpmbuild(macros) >= 1.608
@@ -45,8 +45,9 @@ install -d $RPM_BUILD_ROOT%{_libdir}/%{ghcdir}/package.conf.d
runhaskell Setup.hs 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} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
runhaskell Setup.hs register \
--gen-pkg-config=$RPM_BUILD_ROOT/%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghc-uniplate.git/commitdiff/63caa190de2d7be8c25396776cb521fc356e8048
More information about the pld-cvs-commit
mailing list