|
|
|
@ -14,7 +14,6 @@ print(string.sub(pv, string.find(pv, "[%d.]+$")))\
|
|
|
|
|
}}\
|
|
|
|
|
%global ghc_subpackages_list %{?ghc_subpackages_list} %{pkgname}-%{pkgver}\
|
|
|
|
|
%{!-x:%{?1:%global ghc_packages_list %{?ghc_packages_list} %{pkgname}-%{pkgver}}}\
|
|
|
|
|
%define ghc_prefix %{?ghc_name}%{!?ghc_name:ghc}\
|
|
|
|
|
%define basepkg %{ghc_prefix}-%{pkgname}\
|
|
|
|
|
%if 0%{!-m:1}\
|
|
|
|
|
%package -n %{basepkg}\
|
|
|
|
@ -52,8 +51,8 @@ Summary: Haskell %{pkgname} library documentation\
|
|
|
|
|
%{?1:Version: %{pkgver}}\
|
|
|
|
|
%{-l:License: %{-l*}}\
|
|
|
|
|
BuildArch: noarch\
|
|
|
|
|
Requires: ghc-filesystem\
|
|
|
|
|
Supplements: (%{basepkg}-devel and ghc-doc)\
|
|
|
|
|
Requires: %{ghc_prefix}-filesystem\
|
|
|
|
|
Supplements: (%{basepkg}-devel and %{ghc_prefix}-doc)\
|
|
|
|
|
\
|
|
|
|
|
%description -n %{basepkg}-doc\
|
|
|
|
|
This package provides the Haskell %{pkgname} library documentation.\
|
|
|
|
@ -65,7 +64,7 @@ Summary: Haskell %{pkgname} profiling library\
|
|
|
|
|
%{?1:Version: %{pkgver}}\
|
|
|
|
|
%{-l:License: %{-l*}}\
|
|
|
|
|
Requires: %{ghc_prefix}-%{pkgname}-devel%{?_isa} = %{pkgver}-%{release}\
|
|
|
|
|
Supplements: (%{basepkg}-devel and ghc-prof)\
|
|
|
|
|
Supplements: (%{basepkg}-devel and %{ghc_prefix}-prof)\
|
|
|
|
|
\
|
|
|
|
|
%description -n %{basepkg}-prof\
|
|
|
|
|
This package provides the Haskell %{pkgname} profiling library.\
|
|
|
|
|