|
|
|
@ -1,96 +1,93 @@
|
|
|
|
|
# Shared haskell libraries are supported for x86* archs
|
|
|
|
|
# (disabled for other archs in ghc-rpm-macros)
|
|
|
|
|
|
|
|
|
|
# To bootstrap build a new version of ghc, uncomment the following:
|
|
|
|
|
#%%global ghc_bootstrapping 1
|
|
|
|
|
#%%global without_testsuite 1
|
|
|
|
|
### either:
|
|
|
|
|
#%%{?ghc_bootstrap}
|
|
|
|
|
### or for shared libs:
|
|
|
|
|
#%%{?ghc_test}
|
|
|
|
|
%global ghc_bootstrapping 1
|
|
|
|
|
%global without_testsuite 1
|
|
|
|
|
%global without_prof 1
|
|
|
|
|
%if 0%{?fedora} >= 22
|
|
|
|
|
%{?ghc_bootstrap}
|
|
|
|
|
%else
|
|
|
|
|
%{?ghc_test}
|
|
|
|
|
%endif
|
|
|
|
|
### uncomment to generate haddocks for bootstrap
|
|
|
|
|
#%%undefine without_haddock
|
|
|
|
|
|
|
|
|
|
# make sure to turn on shared libs for all arches
|
|
|
|
|
# (for building on releases earlier than F22)
|
|
|
|
|
%if %{defined ghc_without_shared}
|
|
|
|
|
%undefine ghc_without_shared
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global space %(echo -n ' ')
|
|
|
|
|
%global BSDHaskellReport BSD%{space}and%{space}HaskellReport
|
|
|
|
|
|
|
|
|
|
Name: ghc
|
|
|
|
|
# part of haskell-platform
|
|
|
|
|
# ghc must be rebuilt after a version bump to avoid ABI change problems
|
|
|
|
|
Version: 7.6.3
|
|
|
|
|
Version: 7.8.4
|
|
|
|
|
# Since library subpackages are versioned:
|
|
|
|
|
# - release can only be reset if *all* library versions get bumped simultaneously
|
|
|
|
|
# (sometimes after a major release)
|
|
|
|
|
# - minor release numbers for a branch should be incremented monotonically
|
|
|
|
|
Release: 28%{?dist}
|
|
|
|
|
# xhtml moved from haskell-platform to ghc-7.8.3
|
|
|
|
|
Release: 39%{?dist}
|
|
|
|
|
Summary: Glasgow Haskell Compiler
|
|
|
|
|
|
|
|
|
|
License: %BSDHaskellReport
|
|
|
|
|
URL: http://haskell.org/ghc/
|
|
|
|
|
Source0: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-src.tar.bz2
|
|
|
|
|
Source0: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-src.tar.xz
|
|
|
|
|
%if %{undefined without_testsuite}
|
|
|
|
|
Source2: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-testsuite.tar.bz2
|
|
|
|
|
Source2: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-testsuite.tar.xz
|
|
|
|
|
%endif
|
|
|
|
|
Source3: ghc-doc-index.cron
|
|
|
|
|
Source4: ghc-doc-index
|
|
|
|
|
# absolute haddock path (was for html/libraries -> libraries)
|
|
|
|
|
Patch1: ghc-gen_contents_index-haddock-path.patch
|
|
|
|
|
# fedora does not allow copy libraries
|
|
|
|
|
Patch4: ghc-use-system-libffi.patch
|
|
|
|
|
# fix dynamic linking of executables using Template Haskell
|
|
|
|
|
Patch9: Cabal-fix-dynamic-exec-for-TH.patch
|
|
|
|
|
# add libffi include dir to ghc wrapper for archs using gcc/llc
|
|
|
|
|
Patch10: ghc-wrapper-libffi-include.patch
|
|
|
|
|
# disable building HS*.o libs for ghci
|
|
|
|
|
Patch12: ghc-7.4.2-Cabal-disable-ghci-libs.patch
|
|
|
|
|
# fix compilation with llvm-3.3
|
|
|
|
|
Patch13: ghc-llvmCodeGen-empty-array.patch
|
|
|
|
|
#Patch10: ghc-wrapper-libffi-include.patch
|
|
|
|
|
# stop warnings about unsupported version of llvm
|
|
|
|
|
Patch14: ghc-7.6.3-LlvmCodeGen-llvm-version-warning.patch
|
|
|
|
|
# fix hang on ppc64 and s390x (upstream in 7.8)
|
|
|
|
|
Patch15: ghc-64bit-bigendian-rts-hang-989593.patch
|
|
|
|
|
# NB: value affects ABI hash of libHSghc!
|
|
|
|
|
# will probably be needed again for llvm-3.5
|
|
|
|
|
#Patch14: ghc-7.6.3-LlvmCodeGen-llvm-version-warning.patch
|
|
|
|
|
# unversion library html docdirs
|
|
|
|
|
Patch16: ghc-cabal-unversion-docdir.patch
|
|
|
|
|
# fix libffi segfaults on 32bit (upstream in 7.8)
|
|
|
|
|
Patch17: ghc-7.6.3-rts-Adjustor-32bit-segfault.patch
|
|
|
|
|
# add .note.GNU-stack to assembly output to avoid execstack (#973512)
|
|
|
|
|
# (disabled for now since it changes libghc ABI and fix only works for i686)
|
|
|
|
|
#Patch18: ghc-7.6-driver-Disable-executable-stack-for-the-linker-note.patch
|
|
|
|
|
# changes for ppc64le committed upstream for 7.8.3
|
|
|
|
|
# (https://ghc.haskell.org/trac/ghc/ticket/8965)
|
|
|
|
|
Patch19: ghc-ppc64el.patch
|
|
|
|
|
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
|
|
|
|
|
Patch20: ghc-glibc-2.20_BSD_SOURCE.patch
|
|
|
|
|
# Debian patch
|
|
|
|
|
Patch21: ghc-arm64.patch
|
|
|
|
|
Patch22: ghc-7.6.3-armv7-VFPv3D16--NEON.patch
|
|
|
|
|
Patch22: ghc-armv7-VFPv3D16--NEON.patch
|
|
|
|
|
Patch23: ghc-7.8.3-Cabal-install-PATH-warning.patch
|
|
|
|
|
|
|
|
|
|
%global Cabal_ver 1.16.0
|
|
|
|
|
%global array_ver 0.4.0.1
|
|
|
|
|
%global base_ver 4.6.0.1
|
|
|
|
|
%global Cabal_ver 1.18.1.5
|
|
|
|
|
%global array_ver 0.5.0.0
|
|
|
|
|
%global base_ver 4.7.0.2
|
|
|
|
|
%global bin_package_db_ver 0.0.0.0
|
|
|
|
|
%global binary_ver 0.5.1.1
|
|
|
|
|
%global bytestring_ver 0.10.0.2
|
|
|
|
|
%global containers_ver 0.5.0.0
|
|
|
|
|
%global deepseq_ver 1.3.0.1
|
|
|
|
|
%global directory_ver 1.2.0.1
|
|
|
|
|
%global filepath_ver 1.3.0.1
|
|
|
|
|
%global ghc_prim_ver 0.3.0.0
|
|
|
|
|
%global haskell2010_ver 1.1.1.0
|
|
|
|
|
%global haskell98_ver 2.0.0.2
|
|
|
|
|
%global hoopl_ver 3.9.0.0
|
|
|
|
|
%global hpc_ver 0.6.0.0
|
|
|
|
|
%global integer_gmp_ver 0.5.0.0
|
|
|
|
|
%global old_locale_ver 1.0.0.5
|
|
|
|
|
%global old_time_ver 1.1.0.1
|
|
|
|
|
%global pretty_ver 1.1.1.0
|
|
|
|
|
%global process_ver 1.1.0.2
|
|
|
|
|
%global template_haskell_ver 2.8.0.0
|
|
|
|
|
%global time_ver 1.4.0.1
|
|
|
|
|
%global unix_ver 2.6.0.1
|
|
|
|
|
%global binary_ver 0.7.1.0
|
|
|
|
|
%global bytestring_ver 0.10.4.0
|
|
|
|
|
%global containers_ver 0.5.5.1
|
|
|
|
|
%global deepseq_ver 1.3.0.2
|
|
|
|
|
%global directory_ver 1.2.1.0
|
|
|
|
|
%global filepath_ver 1.3.0.2
|
|
|
|
|
%global ghc_prim_ver 0.3.1.0
|
|
|
|
|
%global haskeline_ver 0.7.1.2
|
|
|
|
|
%global haskell2010_ver 1.1.2.0
|
|
|
|
|
%global haskell98_ver 2.0.0.3
|
|
|
|
|
%global hoopl_ver 3.10.0.1
|
|
|
|
|
%global hpc_ver 0.6.0.1
|
|
|
|
|
%global integer_gmp_ver 0.5.1.0
|
|
|
|
|
%global old_locale_ver 1.0.0.6
|
|
|
|
|
%global old_time_ver 1.1.0.2
|
|
|
|
|
%global pretty_ver 1.1.1.1
|
|
|
|
|
%global process_ver 1.2.0.0
|
|
|
|
|
%global template_haskell_ver 2.9.0.0
|
|
|
|
|
%global terminfo_ver 0.4.0.0
|
|
|
|
|
%global time_ver 1.4.2
|
|
|
|
|
%global transformers_ver 0.3.0.0
|
|
|
|
|
%global unix_ver 2.7.0.1
|
|
|
|
|
%global xhtml_ver 3000.2.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# fedora ghc has been bootstrapped on
|
|
|
|
|
# %{ix86} x86_64 ppc alpha sparcv9 ppc64 armv7hl armv5tel s390 s390x
|
|
|
|
|
# %{ix86} x86_64 ppc ppc64 armv7hl s390 s390x ppc64le aarch64
|
|
|
|
|
# and retired arches: alpha sparcv9 armv5tel
|
|
|
|
|
# see ghc_arches defined in /etc/rpm/macros.ghc-srpm by redhat-rpm-macros
|
|
|
|
|
ExcludeArch: sparc64
|
|
|
|
|
Obsoletes: ghc-dph-base < 0.5, ghc-dph-base-devel < 0.5, ghc-dph-base-prof < 0.5
|
|
|
|
@ -103,11 +100,12 @@ Obsoletes: ghc-feldspar-language < 0.4, ghc-feldspar-language-devel < 0.4, ghc-f
|
|
|
|
|
%if %{undefined ghc_bootstrapping}
|
|
|
|
|
BuildRequires: ghc-compiler = %{version}
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
|
|
|
|
|
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7
|
|
|
|
|
BuildRequires: ghc-rpm-macros-extra
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: ghc-binary-devel
|
|
|
|
|
BuildRequires: ghc-bytestring-devel
|
|
|
|
|
BuildRequires: ghc-containers-devel
|
|
|
|
|
BuildRequires: ghc-directory-devel
|
|
|
|
@ -116,9 +114,9 @@ BuildRequires: ghc-pretty-devel
|
|
|
|
|
BuildRequires: ghc-process-devel
|
|
|
|
|
BuildRequires: gmp-devel
|
|
|
|
|
BuildRequires: libffi-devel
|
|
|
|
|
# for internal terminfo
|
|
|
|
|
# for terminfo
|
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
|
# for manpage and docs
|
|
|
|
|
# for man and docs
|
|
|
|
|
BuildRequires: libxslt, docbook-style-xsl
|
|
|
|
|
%if %{undefined without_testsuite}
|
|
|
|
|
BuildRequires: python
|
|
|
|
@ -126,11 +124,7 @@ BuildRequires: python
|
|
|
|
|
%ifarch armv7hl armv5tel
|
|
|
|
|
BuildRequires: llvm34
|
|
|
|
|
%endif
|
|
|
|
|
%ifarch ppc64le aarch64
|
|
|
|
|
# for patch19 and patch21
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
%endif
|
|
|
|
|
%ifarch armv7hl
|
|
|
|
|
%ifarch armv7hl aarch64
|
|
|
|
|
# patch22
|
|
|
|
|
BuildRequires: autoconf, automake
|
|
|
|
|
%endif
|
|
|
|
@ -194,6 +188,7 @@ The package provides a cronjob for re-indexing installed library development
|
|
|
|
|
documention.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# ghclibdir also needs ghc_version_override for bootstrapping (ghc-deps.sh)
|
|
|
|
|
%global ghc_version_override %{version}
|
|
|
|
|
|
|
|
|
|
# currently only F21+ ghc-rpm-macros has ghc.attr
|
|
|
|
@ -220,6 +215,7 @@ documention.
|
|
|
|
|
# in ghc not ghc-libraries:
|
|
|
|
|
%ghc_lib_subpackage -x ghc %{ghc_version_override}
|
|
|
|
|
%undefine ghc_pkg_obsoletes
|
|
|
|
|
%ghc_lib_subpackage haskeline %{haskeline_ver}
|
|
|
|
|
%ghc_lib_subpackage -l HaskellReport haskell2010 %{haskell2010_ver}
|
|
|
|
|
%ghc_lib_subpackage -l HaskellReport haskell98 %{haskell98_ver}
|
|
|
|
|
%ghc_lib_subpackage hoopl %{hoopl_ver}
|
|
|
|
@ -231,8 +227,11 @@ documention.
|
|
|
|
|
%ghc_lib_subpackage -l %BSDHaskellReport process %{process_ver}
|
|
|
|
|
%undefine ghc_pkg_obsoletes
|
|
|
|
|
%ghc_lib_subpackage template-haskell %{template_haskell_ver}
|
|
|
|
|
%ghc_lib_subpackage -c ncurses-devel%{?_isa} terminfo %{terminfo_ver}
|
|
|
|
|
%ghc_lib_subpackage time %{time_ver}
|
|
|
|
|
%ghc_lib_subpackage transformers %{transformers_ver}
|
|
|
|
|
%ghc_lib_subpackage unix %{unix_ver}
|
|
|
|
|
%ghc_lib_subpackage xhtml %{xhtml_ver}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global version %{ghc_version_override}
|
|
|
|
@ -260,44 +259,21 @@ except the ghc library, which is installed by the toplevel ghc metapackage.
|
|
|
|
|
# gen_contents_index: use absolute path for haddock
|
|
|
|
|
%patch1 -p1 -b .orig
|
|
|
|
|
|
|
|
|
|
# make sure we don't use these
|
|
|
|
|
rm -r ghc-tarballs/{mingw*,perl}
|
|
|
|
|
# use system libffi
|
|
|
|
|
%patch4 -p1 -b .libffi
|
|
|
|
|
rm -r ghc-tarballs/libffi
|
|
|
|
|
mkdir -p rts/dist/build
|
|
|
|
|
ln -s $(pkg-config --variable=includedir libffi)/*.h rts/dist/build
|
|
|
|
|
|
|
|
|
|
%patch9 -p1 -b .orig
|
|
|
|
|
rm -r libffi-tarballs
|
|
|
|
|
|
|
|
|
|
%ifnarch %{ix86} x86_64
|
|
|
|
|
%patch10 -p1 -b .10-ffi
|
|
|
|
|
#%%patch10 -p1 -b .10-ffi
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%patch12 -p1 -b .orig
|
|
|
|
|
|
|
|
|
|
%patch13 -p1 -b .orig
|
|
|
|
|
|
|
|
|
|
%ifarch armv7hl armv5tel
|
|
|
|
|
%patch14 -p1 -b .orig
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%ifarch ppc64 s390x
|
|
|
|
|
%patch15 -p1 -b .orig
|
|
|
|
|
#%%patch14 -p1 -b .orig
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# unversion pkgdoc htmldir
|
|
|
|
|
%if 0%{?fedora} >= 21
|
|
|
|
|
%patch16 -p1 -b .orig
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%patch17 -p0 -b .orig
|
|
|
|
|
|
|
|
|
|
#%%patch18 -p1 -b .orig
|
|
|
|
|
|
|
|
|
|
%ifarch ppc64le
|
|
|
|
|
%patch19 -p1 -b .orig
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%patch20 -p1 -b .orig
|
|
|
|
|
|
|
|
|
|
%ifarch aarch64
|
|
|
|
@ -308,6 +284,7 @@ ln -s $(pkg-config --variable=includedir libffi)/*.h rts/dist/build
|
|
|
|
|
%patch22 -p1 -b .orig
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%patch23 -p1 -b .orig
|
|
|
|
|
|
|
|
|
|
%global gen_contents_index gen_contents_index.orig
|
|
|
|
|
%if %{undefined without_haddock}
|
|
|
|
@ -335,7 +312,7 @@ BuildFlavour = quick-llvm
|
|
|
|
|
BuildFlavour = quick
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
GhcLibWays = v %{!?ghc_without_shared:dyn} %{!?without_prof:p}
|
|
|
|
|
GhcLibWays = v dyn %{!?without_prof:p}
|
|
|
|
|
%if %{defined without_haddock}
|
|
|
|
|
HADDOCK_DOCS = NO
|
|
|
|
|
%endif
|
|
|
|
@ -349,29 +326,32 @@ BUILD_DOCBOOK_HTML = NO
|
|
|
|
|
#EXTRA_HC_OPTS=-debug
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
# note %%configure induces cross-build due to different target/host/build platform names
|
|
|
|
|
# --with-gcc=%{_bindir}/gcc is to avoid ccache hardcoding problem when bootstrapping
|
|
|
|
|
%ifarch ppc64le aarch64 armv7hl
|
|
|
|
|
%ifarch aarch64
|
|
|
|
|
for i in $(find . -name config.guess -o -name config.sub) ; do
|
|
|
|
|
[ -f /usr/lib/rpm/redhat/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv /usr/lib/rpm/redhat/$(basename $i) $i
|
|
|
|
|
done
|
|
|
|
|
%endif
|
|
|
|
|
%ifarch aarch64 armv7hl
|
|
|
|
|
autoreconf
|
|
|
|
|
%endif
|
|
|
|
|
export CFLAGS="${CFLAGS:-%optflags}"
|
|
|
|
|
export LDFLAGS="${LDFLAGS:-%__global_ldflags}"
|
|
|
|
|
# * %%configure induces cross-build due to different target/host/build platform names
|
|
|
|
|
# * --with-gcc=%{_bindir}/gcc is to avoid ccache hardcoding problem when bootstrapping
|
|
|
|
|
./configure --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \
|
|
|
|
|
--bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \
|
|
|
|
|
--datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \
|
|
|
|
|
--libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} \
|
|
|
|
|
--sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} \
|
|
|
|
|
--with-gcc=%{_bindir}/gcc \
|
|
|
|
|
--with-gcc=%{_bindir}/gcc --with-system-libffi \
|
|
|
|
|
%ifarch armv7hl armv5tel
|
|
|
|
|
--with-llc=%{_bindir}/llc-3.4 --with-opt=%{_bindir}/opt-3.4 \
|
|
|
|
|
%endif
|
|
|
|
|
%{nil}
|
|
|
|
|
|
|
|
|
|
# utf8 is needed when building with verbose output
|
|
|
|
|
LANG=en_US.utf8 make %{?_smp_mflags}
|
|
|
|
|
# avoid "ghc: hGetContents: invalid argument (invalid byte sequence)"
|
|
|
|
|
export LANG=en_US.utf8
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -403,11 +383,13 @@ echo "%doc libraries/LICENSE.%1" >> ghc-%2.files
|
|
|
|
|
%merge_filelist bin-package-db ghc
|
|
|
|
|
|
|
|
|
|
# add rts libs
|
|
|
|
|
%if %{undefined ghc_without_shared}
|
|
|
|
|
ls %{buildroot}%{ghclibdir}/libHS*.so >> ghc-base.files
|
|
|
|
|
echo "%dir %{ghclibdir}/rts-1.0" >> ghc-base.files
|
|
|
|
|
ls %{buildroot}%{ghclibdir}/rts-1.0/libHS*.so >> ghc-base.files
|
|
|
|
|
|
|
|
|
|
sed -i -e "s|^%{buildroot}||g" ghc-base.files
|
|
|
|
|
%endif
|
|
|
|
|
ls -d %{buildroot}%{ghclibdir}/libHS*.a %{buildroot}%{ghclibdir}/package.conf.d/builtin_*.conf %{buildroot}%{ghclibdir}/include >> ghc-base-devel.files
|
|
|
|
|
|
|
|
|
|
ls -d %{buildroot}%{ghclibdir}/rts-1.0/lib*.a %{buildroot}%{ghclibdir}/package.conf.d/builtin_*.conf %{buildroot}%{ghclibdir}/include >> ghc-base-devel.files
|
|
|
|
|
|
|
|
|
|
sed -i -e "s|^%{buildroot}||g" ghc-base-devel.files
|
|
|
|
|
|
|
|
|
|
# these are handled as alternatives
|
|
|
|
@ -434,8 +416,12 @@ sh %{gen_contents_index} --intree --verbose
|
|
|
|
|
cd ..
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# we package the library license files separately
|
|
|
|
|
find %{buildroot}%ghclibdocdir -name LICENSE -exec rm '{}' ';'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
export LANG=en_US.utf8
|
|
|
|
|
# stolen from ghc6/debian/rules:
|
|
|
|
|
GHC=inplace/bin/ghc-stage2
|
|
|
|
|
# Do some very simple tests that the compiler actually works
|
|
|
|
@ -451,12 +437,10 @@ echo 'main = putStrLn "Foo"' > testghc/foo.hs
|
|
|
|
|
$GHC testghc/foo.hs -o testghc/foo -O2
|
|
|
|
|
[ "$(testghc/foo)" = "Foo" ]
|
|
|
|
|
rm testghc/*
|
|
|
|
|
%if %{undefined ghc_without_shared}
|
|
|
|
|
echo 'main = putStrLn "Foo"' > testghc/foo.hs
|
|
|
|
|
$GHC testghc/foo.hs -o testghc/foo -dynamic
|
|
|
|
|
[ "$(testghc/foo)" = "Foo" ]
|
|
|
|
|
rm testghc/*
|
|
|
|
|
%endif
|
|
|
|
|
%if %{undefined without_testsuite}
|
|
|
|
|
make test
|
|
|
|
|
%endif
|
|
|
|
@ -490,13 +474,15 @@ fi
|
|
|
|
|
%files
|
|
|
|
|
|
|
|
|
|
%files compiler
|
|
|
|
|
%doc ANNOUNCE HACKING LICENSE README
|
|
|
|
|
%doc ANNOUNCE LICENSE
|
|
|
|
|
%{_bindir}/ghc
|
|
|
|
|
%{_bindir}/ghc-%{version}
|
|
|
|
|
%{_bindir}/ghc-pkg
|
|
|
|
|
%{_bindir}/ghc-pkg-%{version}
|
|
|
|
|
%ifarch %ghc_arches_with_ghci
|
|
|
|
|
%{_bindir}/ghci
|
|
|
|
|
%{_bindir}/ghci-%{version}
|
|
|
|
|
%endif
|
|
|
|
|
%{_bindir}/hp2ps
|
|
|
|
|
%{_bindir}/hpc
|
|
|
|
|
%ghost %{_bindir}/hsc2hs
|
|
|
|
@ -504,18 +490,22 @@ fi
|
|
|
|
|
%{_bindir}/runghc*
|
|
|
|
|
%ghost %{_bindir}/runhaskell
|
|
|
|
|
%{_bindir}/runhaskell-ghc
|
|
|
|
|
%{ghclibdir}/ghc
|
|
|
|
|
%{ghclibdir}/ghc-pkg
|
|
|
|
|
# unknown ("unregisterized") archs
|
|
|
|
|
%dir %{ghclibdir}/bin
|
|
|
|
|
%{ghclibdir}/bin/ghc
|
|
|
|
|
%{ghclibdir}/bin/ghc-pkg
|
|
|
|
|
%{ghclibdir}/bin/hpc
|
|
|
|
|
%{ghclibdir}/bin/hsc2hs
|
|
|
|
|
%{ghclibdir}/bin/runghc
|
|
|
|
|
# unknown (unregisterized) archs
|
|
|
|
|
%ifnarch ppc64 s390 s390x ppc64le aarch64
|
|
|
|
|
%{ghclibdir}/ghc-split
|
|
|
|
|
%endif
|
|
|
|
|
%{ghclibdir}/ghc-usage.txt
|
|
|
|
|
%{ghclibdir}/ghci-usage.txt
|
|
|
|
|
%{ghclibdir}/hsc2hs
|
|
|
|
|
%{ghclibdir}/mkGmpDerivedConstants
|
|
|
|
|
%dir %{ghclibdir}/package.conf.d
|
|
|
|
|
%ghost %{ghclibdir}/package.conf.d/package.cache
|
|
|
|
|
%{ghclibdir}/runghc
|
|
|
|
|
%{ghclibdir}/platformConstants
|
|
|
|
|
%{ghclibdir}/settings
|
|
|
|
|
%{ghclibdir}/template-hsc.h
|
|
|
|
|
%{ghclibdir}/unlit
|
|
|
|
@ -526,7 +516,7 @@ fi
|
|
|
|
|
%{_bindir}/ghc-doc-index
|
|
|
|
|
%{_bindir}/haddock
|
|
|
|
|
%{_bindir}/haddock-ghc-%{version}
|
|
|
|
|
%{ghclibdir}/haddock
|
|
|
|
|
%{ghclibdir}/bin/haddock
|
|
|
|
|
%{ghclibdir}/html
|
|
|
|
|
%{ghclibdir}/latex
|
|
|
|
|
%if %{undefined without_manual}
|
|
|
|
@ -560,6 +550,18 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Jan 17 2015 Jens Petersen <petersen@redhat.com> - 7.8.4-39
|
|
|
|
|
- update to 7.8.4
|
|
|
|
|
- bump release over haskell-platform xhtml
|
|
|
|
|
- https://www.haskell.org/ghc/docs/7.8.4/html/users_guide/release-7-8-1.html
|
|
|
|
|
- https://www.haskell.org/ghc/docs/7.8.4/html/users_guide/release-7-8-2.html
|
|
|
|
|
- https://www.haskell.org/ghc/docs/7.8.4/html/users_guide/release-7-8-3.html
|
|
|
|
|
- https://www.haskell.org/ghc/docs/7.8.4/html/users_guide/release-7-8-4.html
|
|
|
|
|
- bootstrap build
|
|
|
|
|
- provides haskeline, terminfo and xhtml libraries
|
|
|
|
|
- shared libraries on all archs
|
|
|
|
|
- bindir/ghci only on ghc_arches_with_ghci
|
|
|
|
|
|
|
|
|
|
* Tue Nov 18 2014 Jens Petersen <petersen@redhat.com> - 7.6.3-28
|
|
|
|
|
- remove the build hack to switch from llvm to llvm34 (#1161049)
|
|
|
|
|
- use rpm internal dependency generator with ghc.attr on F21+
|
|
|
|
|