SPECS: ghc.spec - rel 2 - fixed doc bcond

baggins baggins at pld-linux.org
Thu Feb 22 19:02:09 CET 2007


Author: baggins                      Date: Thu Feb 22 18:02:09 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 2
- fixed doc bcond

---- Files affected:
SPECS:
   ghc.spec (1.64 -> 1.65) 

---- Diffs:

================================================================
Index: SPECS/ghc.spec
diff -u SPECS/ghc.spec:1.64 SPECS/ghc.spec:1.65
--- SPECS/ghc.spec:1.64	Wed Feb 21 14:40:35 2007
+++ SPECS/ghc.spec	Thu Feb 22 19:02:04 2007
@@ -8,7 +8,7 @@
 Summary(pl.UTF-8):	System kompilacji Glasgow Haskell
 Name:		ghc
 Version:	6.6
-Release:	1
+Release:	2
 License:	BSD-like w/o adv. clause
 Group:		Development/Languages
 Source0:	http://haskell.org/ghc/dist/%{version}/%{name}-%{version}-src.tar.bz2
@@ -20,18 +20,18 @@
 %{!?with_bootstrap:BuildRequires:	alex >= 2.0}
 BuildRequires:	autoconf
 BuildRequires:	automake
-%{!?with_doc:BuildRequires:	docbook-dtd42-xml}
-%{!?with_doc:BuildRequires:	docbook-style-xsl}
+%{?with_doc:BuildRequires:	docbook-dtd42-xml}
+%{?with_doc:BuildRequires:	docbook-style-xsl}
 %{!?with_bootstrap:BuildRequires:	ghc}
 BuildRequires:	gmp-devel
-%{!?with_doc:BuildRequires:	haddock}
+%{?with_doc:BuildRequires:	haddock}
 %{!?with_bootstrap:BuildRequires:	happy >= 1.15}
-%{!?with_doc:BuildRequires:	libxslt-progs}
+%{?with_doc:BuildRequires:	libxslt-progs}
 BuildRequires:	ncurses-devel
 BuildRequires:	readline-devel
 BuildRequires:	rpmbuild(macros) >= 1.213
-%{!?with_doc:BuildRequires:	tetex}
-%{!?with_doc:BuildRequires:	tetex-dvips}
+%{?with_doc:BuildRequires:	tetex}
+%{?with_doc:BuildRequires:	tetex-dvips}
 #For generating documentation in PDF: fop or xmltex
 Provides:	haskell
 # there is no more ghc ports in PLD
@@ -162,8 +162,10 @@
 	datadir=$RPM_BUILD_ROOT%{_datadir}/%{name}-%{version} \
 	libdir=$RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}
 
+%if %{with doc}
 rm -rf html
 %{__make} install-docs datadir=`pwd`
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -217,6 +219,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.65  2007/02/22 18:02:04  baggins
+- rel 2
+- fixed doc bcond
+
 Revision 1.64  2007/02/21 13:40:35  qrczak
 - BR: automake
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ghc.spec?r1=1.64&r2=1.65&f=u



More information about the pld-cvs-commit mailing list