the ghc-doc packages contains the LICENSES files even without docs built
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc?expand=0&rev=55
This commit is contained in:
parent
e137c053e7
commit
bc61b5da84
7
ghc.spec
7
ghc.spec
@ -190,10 +190,10 @@ make -C docs/storage-mgt ps
|
||||
%if %check_haddock_ghc
|
||||
make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-doc HADDOCK_DOCS=YES install install-docs
|
||||
mkdir html-docs
|
||||
cp -a %{buildroot}%{_docdir}/%{name}-doc/{index.html,libraries} html-docs
|
||||
%else
|
||||
make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-doc install
|
||||
%endif
|
||||
cp -a %{buildroot}%{_docdir}/%{name}-doc/{index.html,libraries} html-docs
|
||||
#mv %{buildroot}%{_prefix}/bin/hsc2hs %{buildroot}%{_prefix}/bin/hsc2hs-ghc
|
||||
|
||||
dir=`pwd`
|
||||
@ -250,18 +250,21 @@ fi
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%doc html-docs/*
|
||||
%if %check_haddock_ghc
|
||||
%doc docs/comm
|
||||
%doc docs/docbook-cheat-sheet/docbook-cheat-sheet
|
||||
%doc docs/users_guide/users_guide
|
||||
%doc libraries/Cabal/doc/Cabal
|
||||
%doc html-docs/*
|
||||
%doc docs/storage-mgt/ldv.ps
|
||||
%doc docs/storage-mgt/rp.ps
|
||||
%doc docs/storage-mgt/sm.ps
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Aug 19 2008 Herbert Graeber <herbert@links2linux.de> 6.8.3
|
||||
- the ghc-doc packages contains the LICENSES files even without docs built
|
||||
|
||||
* Mon Aug 18 2008 Herbert Graeber <herbert@links2linux.de> 6.8.3
|
||||
- add provides for all libraries included
|
||||
- create a doc package even when docs cannot be created
|
||||
|
Loading…
x
Reference in New Issue
Block a user