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) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# fedora ghc archs: # fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc BuildRequires: ghc, ghc-rpm-macros
BuildRequires: ghc-rpm-macros
%if %{with doc} %if %{with doc}
BuildRequires: ghc-doc BuildRequires: ghc-doc
%endif %endif
@ -49,8 +48,8 @@ built for ghc-%{ghc_version}.
%if %{with doc} %if %{with doc}
%package doc %package doc
Summary: Documentation for %{name} Summary: Documentation for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: ghc-doc = %{ghc_version} Requires: ghc-doc = %{ghc_version}
Requires(post): ghc-doc = %{ghc_version} Requires(post): ghc-doc = %{ghc_version}
Requires(postun): ghc-doc = %{ghc_version} Requires(postun): ghc-doc = %{ghc_version}