[packages/ghc-transformers] - don't remove docdir twice - rel 3
baggins
baggins at pld-linux.org
Fri May 31 21:34:17 CEST 2013
commit eda78006bfbb2d8141e1f7aee83d279e9100c7d2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri May 31 21:34:04 2013 +0200
- don't remove docdir twice
- rel 3
ghc-transformers.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/ghc-transformers.spec b/ghc-transformers.spec
index 57c0840..fed96ab 100644
--- a/ghc-transformers.spec
+++ b/ghc-transformers.spec
@@ -3,7 +3,7 @@ Summary: Concrete functor and monad transformers
Summary(pl.UTF-8): Funktory konkretne i przekształcenia monad
Name: ghc-%{pkgname}
Version: 0.3.0.0
-Release: 2
+Release: 3
License: BSD
Group: Development/Languages
Source0: http://hackage.haskell.org/packages/archive/transformers/%{version}/%{pkgname}-%{version}.tar.gz
@@ -64,14 +64,11 @@ runhaskell Setup.hs copy --destdir=$RPM_BUILD_ROOT
# work around automatic haddock docs installation
%{__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
+%{__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
-# packaged as %doc
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/ghc-transformers-%{version}/{LICENSE,html}
-
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghc-transformers.git/commitdiff/eda78006bfbb2d8141e1f7aee83d279e9100c7d2
More information about the pld-cvs-commit
mailing list