ghc_lib_subpackage: provide static with isa suffix

This commit is contained in:
Jens Petersen 2019-08-05 18:50:07 +08:00
parent aa3330b0d6
commit c0416597f5
3 changed files with 9 additions and 1 deletions

View File

@ -10,7 +10,7 @@
#%%global without_hscolour 1
Name: ghc-rpm-macros
Version: 2.0
Version: 2.0.1
Release: 1%{?dist}
Summary: RPM macros for building Haskell packages for GHC
@ -203,6 +203,9 @@ EOF
%changelog
* Mon Aug 5 2019 Jens Petersen <petersen@redhat.com> - 2.0.1-1
- ghc_lib_subpackage: provide static with isa suffix
* Wed Jul 31 2019 Jens Petersen <petersen@redhat.com> - 2.0-1
- bring back doc and prof subpackages

View File

@ -30,6 +30,7 @@ Summary: Haskell %{pkgname} library development files\
%{?1:Version: %{pkgver}}\
%{-l:License: %{-l*}}\
Provides: %{basepkg}-static = %{pkgver}-%{release}\
Provides: %{basepkg}-static%{?_isa} = %{pkgver}-%{release}\
Requires: %{ghc_prefix}-compiler = %{ghc_version}%{?ghc_version_override:-%{release}}\
Requires: %{ghc_prefix}-%{pkgname}%{?_isa} = %{pkgver}-%{release}\
%{?ghc_pkg_c_deps:Requires: %{ghc_pkg_c_deps}}\

View File

@ -5,7 +5,11 @@
%_ghcdynlibdir %{_libdir}
%ghc_without_dynamic 1
# enable profiling libraries in prof subpkgs
%with_ghc_prof 1
# enable library documentation in doc subpkgs
%with_haddock 1
#%%cabal_install_options -v