cabal2spec format for ghc-rpm-macros requires
This commit is contained in:
parent
4b98854e58
commit
a09f14a036
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user