exclude ghc-boot from ghc-libraries

but ghc-boot-th should be there for TH
This commit is contained in:
Jens Petersen 2017-03-16 11:19:44 +09:00
parent 1564a79df6
commit 8ad1d461c8
2 changed files with 3 additions and 2 deletions

View File

@ -180,7 +180,7 @@ documention.
# in ghc not ghc-libraries: # in ghc not ghc-libraries:
%ghc_lib_subpackage -d -x ghc-%{ghc_version_override} %ghc_lib_subpackage -d -x ghc-%{ghc_version_override}
%undefine ghc_pkg_obsoletes %undefine ghc_pkg_obsoletes
%ghc_lib_subpackage -d ghc-boot-%{ghc_version_override} %ghc_lib_subpackage -d -x ghc-boot-%{ghc_version_override}
%ghc_lib_subpackage -d ghc-boot-th-%{ghc_version_override} %ghc_lib_subpackage -d ghc-boot-th-%{ghc_version_override}
%ghc_lib_subpackage -d -x ghci-%{ghc_version_override} %ghc_lib_subpackage -d -x ghci-%{ghc_version_override}
%ghc_lib_subpackage -d haskeline-0.7.3.0 %ghc_lib_subpackage -d haskeline-0.7.3.0
@ -334,6 +334,7 @@ done
# ghc-base should own ghclibdir # ghc-base should own ghclibdir
echo "%%dir %{ghclibdir}" >> ghc-base.files echo "%%dir %{ghclibdir}" >> ghc-base.files
%ghc_gen_filelists ghc-boot %{ghc_version_override}
%ghc_gen_filelists ghc %{ghc_version_override} %ghc_gen_filelists ghc %{ghc_version_override}
%ghc_gen_filelists ghci %{ghc_version_override} %ghc_gen_filelists ghci %{ghc_version_override}
%ghc_gen_filelists ghc-prim 0.5.0.0 %ghc_gen_filelists ghc-prim 0.5.0.0

View File

@ -7,4 +7,4 @@ fi
cd libraries cd libraries
grep -i ^version: Cabal/Cabal/Cabal.cabal */*.cabal | grep -v -e "\(Win32\|gmp.old\|gmp2\|integer-simple\|ghc-boot\)" | sed -e "s!/.*: \+!_ver !" grep -i ^version: Cabal/Cabal/Cabal.cabal */*.cabal | grep -v -e "\(Win32\|gmp.old\|gmp2\|integer-simple\)" | sed -e "s!/.*: \+!-!"