X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fghc.spec.in;h=c1d5fdd0d46c522ca9791f13155862ef7678a33e;hb=5c15e80ba77d4e30a84578df95ad32e471b0ff8c;hp=6bf7ca5b6ec104c174e6c365d1be8dc450680141;hpb=6f4c0cc69493c6a53c06cd58ce5aa99276de8888;p=ghc-hetmet.git diff --git a/ghc/ghc.spec.in b/ghc/ghc.spec.in index 6bf7ca5..c1d5fdd 100644 --- a/ghc/ghc.spec.in +++ b/ghc/ghc.spec.in @@ -68,8 +68,8 @@ the documentation is available online at %changelog -* Mon Sep 16 2002 Manuel Chakravarty -- Use external Haddock installation +* Tue Aug 19 2003 Sven Panne +- use autoreconf * Wed Sep 26 2001 Manuel Chakravarty - small changes for 5.04 @@ -126,14 +126,14 @@ SRC_HAPPY_OPTS += -agc GhcWithInterpreter=YES END -# run autoconf if necessary +# run autoheader and autoconf if necessary # -[ ! -x configure ] && autoconf && cd ghc && autoconf +test -f configure || autoreconf %build ./configure --prefix=%{prefix} make boot -make HADDOCK_INPLACE=haddock all ps html +make all ps html %install rm -rf $RPM_BUILD_ROOT @@ -172,12 +172,15 @@ cd $dir rm -rf $RPM_BUILD_ROOT %files -f rpm-noprof-lib-files +%defattr(-,root,root) %doc %{prefix}/share/doc/ghc-%{version}/ANNOUNCE %doc %{prefix}/share/doc/ghc-%{version}/README %{prefix}/bin/* %files prof -f rpm-prof-lib-files +%defattr(-,root,root) %files doc +%defattr(-,root,root) %doc %{prefix}/share/doc/ghc-%{version}/*.ps %doc %{prefix}/share/doc/ghc-%{version}/html