cabal2spec format for ghc-rpm-macros requires

This commit is contained in:
Jens Petersen 2009-05-30 03:23:22 +00:00
parent 4b98854e58
commit a09f14a036

View File

@ -19,8 +19,7 @@ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{versio
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc
BuildRequires: ghc-rpm-macros
BuildRequires: ghc, ghc-rpm-macros
%if %{with doc}
BuildRequires: ghc-doc
%endif
@ -49,8 +48,8 @@ built for ghc-%{ghc_version}.
%if %{with doc}
%package doc
Summary: Documentation for %{name}
Group: Development/Libraries
Summary: Documentation for %{name}
Group: Development/Libraries
Requires: ghc-doc = %{ghc_version}
Requires(post): ghc-doc = %{ghc_version}
Requires(postun): ghc-doc = %{ghc_version}