[packages/happy] - fix doc install - rel 2
baggins
baggins at pld-linux.org
Fri May 31 21:07:39 CEST 2013
commit 7117c35128080bb2040ee983258eebecfcbb480a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri May 31 21:07:29 2013 +0200
- fix doc install
- rel 2
happy.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/happy.spec b/happy.spec
index 6fa6b84..a99c18b 100644
--- a/happy.spec
+++ b/happy.spec
@@ -6,7 +6,7 @@ Summary: Yacc-like LALR(1) Parser Generator for Haskell
Summary(pl.UTF-8): Generator parserów LALR(1) w stylu yacc-a dla Haskella
Name: happy
Version: 1.18.10
-Release: 1
+Release: 2
License: BSD-like w/o adv. clause
Group: Development/Tools
Source0: http://hackage.haskell.org/packages/archive/happy/%{version}/%{name}-%{version}.tar.gz
@@ -79,6 +79,11 @@ runhaskell Setup.lhs copy --destdir=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}
cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+# work around automatic haddock docs installation
+%{__rm} -rf %{name}-%{version}-doc
+cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/happy.git/commitdiff/7117c35128080bb2040ee983258eebecfcbb480a
More information about the pld-cvs-commit
mailing list