|
|
@ -8,19 +8,16 @@
|
|
|
|
%{!-x:%{?1:%global ghc_packages_list %{?ghc_packages_list} %{pkgnamever}}}\
|
|
|
|
%{!-x:%{?1:%global ghc_packages_list %{?ghc_packages_list} %{pkgnamever}}}\
|
|
|
|
%define basepkg ghc-%{pkgname}\
|
|
|
|
%define basepkg ghc-%{pkgname}\
|
|
|
|
%package -n %{basepkg}\
|
|
|
|
%package -n %{basepkg}\
|
|
|
|
Summary: %{?common_summary}%{!?common_summary:Haskell %{pkgname} library}\
|
|
|
|
Summary: Haskell %{pkgname} library\
|
|
|
|
%{?1:Version: %{pkgver}}\
|
|
|
|
%{?1:Version: %{pkgver}}\
|
|
|
|
%{-l:License: %{-l*}}\
|
|
|
|
%{-l:License: %{-l*}}\
|
|
|
|
%{?ghc_pkg_obsoletes:Obsoletes: %(echo "%{ghc_pkg_obsoletes}" | sed -e "s/\\(ghc-[^, ]*\\)-devel/\\1/g")}
|
|
|
|
%{?ghc_pkg_obsoletes:Obsoletes: %(echo "%{ghc_pkg_obsoletes}" | sed -e "s/\\(ghc-[^, ]*\\)-devel/\\1/g")}\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
%description -n %{basepkg}\
|
|
|
|
%description -n %{basepkg}\
|
|
|
|
This package provides the Haskell %{pkgname} library.
|
|
|
|
This package provides the Haskell %{pkgname} library.\
|
|
|
|
\
|
|
|
|
|
|
|
|
%files -n %{basepkg} -f %{basepkg}.files\
|
|
|
|
|
|
|
|
%{?base_doc_files:%doc %base_doc_files}\
|
|
|
|
|
|
|
|
\
|
|
|
|
\
|
|
|
|
%package -n %{basepkg}-devel\
|
|
|
|
%package -n %{basepkg}-devel\
|
|
|
|
Summary: %{?common_summary}%{!?common_summary:Haskell %{pkgname} library} development files\
|
|
|
|
Summary: Haskell %{pkgname} library development files\
|
|
|
|
%{?1:Version: %{pkgver}}\
|
|
|
|
%{?1:Version: %{pkgver}}\
|
|
|
|
%{-l:License: %{-l*}}\
|
|
|
|
%{-l:License: %{-l*}}\
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}\
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}\
|
|
|
@ -38,7 +35,7 @@ Provides: %{basepkg}-prof = %{pkgver}-%{release}\
|
|
|
|
%endif\
|
|
|
|
%endif\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
%description -n %{basepkg}-devel\
|
|
|
|
%description -n %{basepkg}-devel\
|
|
|
|
This package provides the Haskell %{pkgname} library development files.
|
|
|
|
This package provides the Haskell %{pkgname} library development files.\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
%post -n %{basepkg}-devel\
|
|
|
|
%post -n %{basepkg}-devel\
|
|
|
|
%ghc_pkg_recache\
|
|
|
|
%ghc_pkg_recache\
|
|
|
@ -46,6 +43,9 @@ This package provides the Haskell %{pkgname} library development files.
|
|
|
|
%postun -n %{basepkg}-devel\
|
|
|
|
%postun -n %{basepkg}-devel\
|
|
|
|
%ghc_pkg_recache\
|
|
|
|
%ghc_pkg_recache\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
|
|
|
|
%files -n %{basepkg} -f %{basepkg}.files\
|
|
|
|
|
|
|
|
%{?base_doc_files:%doc %base_doc_files}\
|
|
|
|
|
|
|
|
\
|
|
|
|
%files -n %{basepkg}-devel -f %{basepkg}-devel.files\
|
|
|
|
%files -n %{basepkg}-devel -f %{basepkg}-devel.files\
|
|
|
|
%{?devel_doc_files:%doc %devel_doc_files}\
|
|
|
|
%{?devel_doc_files:%doc %devel_doc_files}\
|
|
|
|
%{nil}
|
|
|
|
%{nil}
|
|
|
|