[packages/ghc-binary] - use runhaskell - fixed docs
baggins
baggins at pld-linux.org
Fri May 31 22:02:24 CEST 2013
commit 89560333cfd76d8c64e3a65d962e8bb8a206809c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri May 31 22:01:54 2013 +0200
- use runhaskell
- fixed docs
ghc-binary.spec | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/ghc-binary.spec b/ghc-binary.spec
index 0115fd1..3c3dfbe 100644
--- a/ghc-binary.spec
+++ b/ghc-binary.spec
@@ -38,27 +38,27 @@ Dokumentacja w formacie HTML dla %{pkgname}.
%setup -q -n %{pkgname}-%{version}
%build
-./Setup.lhs configure -v2 \
+runhaskell Setup.lhs configure -v2 \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--libexecdir=%{_libexecdir} \
--docdir=%{_docdir}/%{name}-%{version}
-./Setup.lhs build
-./Setup.lhs haddock --executables
+runhaskell Setup.lhs build
+runhaskell Setup.lhs haddock --executables
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_libdir}/%{ghcdir}/package.conf.d
-./Setup.lhs copy --destdir=$RPM_BUILD_ROOT
+runhaskell Setup.lhs 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}
-./Setup.lhs register \
+runhaskell Setup.lhs register \
--gen-pkg-config=$RPM_BUILD_ROOT/%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
%clean
@@ -72,7 +72,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README todo
+%doc README.md
%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
%{_libdir}/%{ghcdir}/%{pkgname}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghc-binary.git/commitdiff/74c47bb484a92dbf7133eed705309551562d4b00
More information about the pld-cvs-commit
mailing list