expand %ghc_devel_package and %ghc_devel_description

This commit is contained in:
Jens Petersen 2013-06-17 13:08:14 +09:00
parent a3f122883a
commit bebea475ae

View File

@ -166,7 +166,10 @@ hand-written or generated by another program).
%global version %{haskell_platform_version}
%ghc_devel_package -m haskell-platform %{version}
%package -n ghc-haskell-platform-devel
Summary: Haskell Platform library development files
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
%{?ghc_packages_list:Requires: %(echo %{ghc_packages_list} | sed -e "s/\([^ ]*\)-\([^ ]*\)/ghc-\1-devel = \2-%{release},/g")}
Requires: ghc-libraries = %{ghc_compiler_version}
Requires: ghc-text-devel = %{text_version}
@ -182,9 +185,8 @@ Requires: ghc-unordered-containers-devel = %{unordered_containers_version}
# added in F17 devel cycle
Obsoletes: ghc-haskell-platform < %{version}-%{release}
%ghc_devel_description haskell-platform
Haskell Platform is a suite of stable and well used Haskell libraries
and tools. It provides a good starting environment for Haskell development.
%description -n ghc-haskell-platform-devel
This provides the haskell-platform meta library package.
%prep