|
|
|
@ -5,8 +5,8 @@
|
|
|
|
|
%{?base_doc_files:%doc %base_doc_files}\
|
|
|
|
|
%{nil}
|
|
|
|
|
|
|
|
|
|
# ghc_lib_package [-c cdepslist] [-h pkgdepslist]
|
|
|
|
|
%ghc_lib_package(c:h:)\
|
|
|
|
|
# ghc_lib_package [-c cdepslist]
|
|
|
|
|
%ghc_lib_package(c:)\
|
|
|
|
|
%define pkgname %{?1}%{!?1:%{pkg_name}}\
|
|
|
|
|
%define basepkg ghc-%{pkgname}\
|
|
|
|
|
%ghc_shared_files\
|
|
|
|
@ -32,8 +32,8 @@ Summary: %{?common_summary}%{!?common_summary:Haskell %{pkgname} library}
|
|
|
|
|
%description -n %{basepkg}\
|
|
|
|
|
%{?common_description}%{!?common_description:Haskell %{pkgname} library.}
|
|
|
|
|
|
|
|
|
|
# ghc_lib_subpackage [-c cdepslist] [-h pkgdepslist] [-l licensetag] [-x] [name] [version]
|
|
|
|
|
%ghc_lib_subpackage(c:h:l:x)\
|
|
|
|
|
# ghc_lib_subpackage [-c cdepslist] [-l licensetag] [-x] [name] [version]
|
|
|
|
|
%ghc_lib_subpackage(c:l:x)\
|
|
|
|
|
%define pkgname %{?1}%{!?1:%{pkg_name}}\
|
|
|
|
|
%define pkgver %{?2}%{!?2:%{version}}\
|
|
|
|
|
%define pkgnamever %{pkgname}-%{pkgver}\
|
|
|
|
@ -68,11 +68,13 @@ Summary: %{?common_summary}%{!?common_summary:Haskell %{pkgname} library}
|
|
|
|
|
%ghc_devel_requires Requires: ghc-compiler = %{ghc_version}\
|
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}\
|
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}\
|
|
|
|
|
%if 0%{!?-m:1}\
|
|
|
|
|
Requires: ghc-%{?pkg_name}%{!?pkg_name:%{pkgname}} = %{?pkgver}%{!?pkgver:%{version}}-%{release}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# ghc_devel_package [-c cdepslist] [-h pkgdepslist] [-l licensetag] [-m] [name] [version]
|
|
|
|
|
# ghc_devel_package [-c cdepslist] [-l licensetag] [-m] [name] [version]
|
|
|
|
|
# -m : meta-package
|
|
|
|
|
%ghc_devel_package(c:h:l:m)\
|
|
|
|
|
%ghc_devel_package(c:l:m)\
|
|
|
|
|
%define pkgname %{?1}%{!?1:%{pkg_name}}\
|
|
|
|
|
%define pkgver %{?2}%{!?2:%{version}}\
|
|
|
|
|
%define basepkg ghc-%{pkgname}\
|
|
|
|
@ -81,7 +83,6 @@ Summary: %{?common_summary}%{!?common_summary:Haskell %{pkgname} library}
|
|
|
|
|
%{?1:Version: %{pkgver}}\
|
|
|
|
|
%{-l:License: %{-l*}}\
|
|
|
|
|
%{?ghc_devel_requires}\
|
|
|
|
|
%{-h:Requires: %{-h*}}\
|
|
|
|
|
%{?ghc_pkg_c_deps:Requires: %{ghc_pkg_c_deps}}\
|
|
|
|
|
%{-c:Requires: %{-c*}}\
|
|
|
|
|
%{?ghc_pkg_obsoletes:Obsoletes: %{ghc_pkg_obsoletes}}\
|
|
|
|
@ -112,7 +113,7 @@ This package contains the development files.
|
|
|
|
|
%postun -n %{basepkg}-devel\
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
# ghc_package_devel [-c cdepslist] [-h pkgdepslist] [-l licensetag] [name] [version]
|
|
|
|
|
# ghc_package_devel [-c cdepslist] [-l licensetag] [name] [version]
|
|
|
|
|
%ghc_package_devel(c:h:l:)\
|
|
|
|
|
%define pkgname %{?1}%{!?1:%{pkg_name}}\
|
|
|
|
|
%define basepkg ghc-%{pkgname}\
|
|
|
|
|