define doc-index subpackage and set without_haddock for bootstrap
- drop Group fields
This commit is contained in:
parent
c4cf8af204
commit
19f6f35b16
15
ghc.spec
15
ghc.spec
@ -5,6 +5,7 @@
|
||||
%global ghc_bootstrapping 1
|
||||
%{?ghc_bootstrap}
|
||||
%global without_testsuite 1
|
||||
%global without_haddock 1
|
||||
|
||||
# To do a test build instead with shared libs, uncomment the following:
|
||||
#%%global ghc_bootstrapping 1
|
||||
@ -35,7 +36,6 @@ Summary: Glasgow Haskell Compiler
|
||||
# see ghc_arches defined in /etc/rpm/macros.ghc-srpm by redhat-rpm-macros
|
||||
ExcludeArch: sparc64
|
||||
License: %BSDHaskellReport
|
||||
Group: Development/Languages
|
||||
Source0: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-src.tar.bz2
|
||||
%if %{undefined without_testsuite}
|
||||
Source2: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-testsuite.tar.bz2
|
||||
@ -122,7 +122,6 @@ for the functional language Haskell. Highlights:
|
||||
%package compiler
|
||||
Summary: GHC compiler and utilities
|
||||
License: BSD
|
||||
Group: Development/Languages
|
||||
Requires: gcc%{?_isa}
|
||||
Requires: ghc-base-devel%{?_isa}
|
||||
# for alternatives
|
||||
@ -140,6 +139,17 @@ The package contains the GHC compiler, tools and utilities.
|
||||
The ghc libraries are provided by ghc-devel.
|
||||
To install all of ghc, install the ghc base package.
|
||||
|
||||
%if %{undefined without_haddock}
|
||||
%package doc-index
|
||||
Summary: GHC library development documentation indexing
|
||||
License: BSD
|
||||
Requires: ghc-compiler = %{version}-%{release}
|
||||
|
||||
%description doc-index
|
||||
The package provides a cronjob for re-indexing installed library development
|
||||
documention.
|
||||
%endif
|
||||
|
||||
%global ghc_version_override %{version}
|
||||
|
||||
# needs ghc_version_override for bootstrapping
|
||||
@ -183,7 +193,6 @@ To install all of ghc, install the ghc base package.
|
||||
%package libraries
|
||||
Summary: GHC development libraries meta package
|
||||
License: %BSDHaskellReport
|
||||
Group: Development/Libraries
|
||||
Requires: ghc-compiler = %{version}-%{release}
|
||||
Obsoletes: ghc-devel < %{version}-%{release}
|
||||
Provides: ghc-devel = %{version}-%{release}
|
||||
|
Loading…
Reference in New Issue
Block a user