Blame SPECS/ghc.spec

a43873
# perf production build (disable for quick build)
a43873
%bcond_without perf_build
a43873
a43873
# to handle RCs
a43873
%global ghc_release %{version}
a43873
a43873
# make sure ghc libraries' ABI hashes unchanged
a43873
%bcond_without abicheck
a43873
a43873
# run testsuite
a43873
%bcond_with testsuite
a43873
# build profiling libraries
a43873
%bcond_without prof
a43873
# build docs (haddock and manuals)
a43873
# combined since disabling haddock seems to cause no manuals built
a43873
# <https://ghc.haskell.org/trac/ghc/ticket/15190>
a43873
%bcond_without docs
a43873
a43873
# 8.2 needs llvm-3.9
a43873
%global llvm_major 3.9
a43873
%global llvm_version %{llvm_major}.1
a43873
%global ghc_llvm_archs armv7hl aarch64
a43873
a43873
Name: ghc
a43873
# ghc must be rebuilt after a version bump to avoid ABI change problems
a43873
Version: 8.2.2
a43873
# Since library subpackages are versioned:
a43873
# - release can only be reset if *all* library versions get bumped simultaneously
a43873
#   (sometimes after a major release)
a43873
# - minor release numbers for a branch should be incremented monotonically
a43873
Release: 68.3%{?dist}
a43873
Summary: Glasgow Haskell Compiler
a43873
a43873
License: BSD and HaskellReport
a43873
URL: https://haskell.org/ghc/
a43873
Source0: https://downloads.haskell.org/~ghc/%{ghc_release}/ghc-%{version}-src.tar.xz
a43873
%if %{with testsuite}
a43873
Source1: https://downloads.haskell.org/~ghc/%{ghc_release}/ghc-%{version}-testsuite.tar.xz
a43873
%endif
a43873
Source3: ghc-doc-index.cron
a43873
Source4: ghc-doc-index
a43873
a43873
Source10: http://llvm.org/releases/%{llvm_version}/llvm-%{llvm_version}.src.tar.xz
a43873
a43873
# absolute haddock path (was for html/libraries -> libraries)
a43873
Patch1:  ghc-gen_contents_index-haddock-path.patch
a43873
Patch2:  ghc-Cabal-install-PATH-warning.patch
a43873
# https://github.com/haskell/cabal/issues/4728
a43873
# https://ghc.haskell.org/trac/ghc/ticket/14381
a43873
# https://phabricator.haskell.org/D4159
a43873
Patch4:  D4159.patch
a43873
# https://github.com/ghc/ghc/pull/143
a43873
Patch5:  ghc-configure-fix-sphinx-version-check.patch
a43873
a43873
Patch12: ghc-armv7-VFPv3D16--NEON.patch
a43873
a43873
# Debian patches:
a43873
# doesn't apply to 8.2
a43873
#Patch24: ghc-Debian-buildpath-abi-stability.patch
a43873
Patch26: ghc-Debian-no-missing-haddock-file-warning.patch
a43873
Patch27: ghc-Debian-reproducible-tmp-names.patch
a43873
Patch28: ghc-Debian-x32-use-native-x86_64-insn.patch
a43873
a43873
# llvm3.9 patches + 100
a43873
Patch106: llvm-install_dirs.patch
a43873
Patch174: llvm-D25865-cmakeshlib.patch
a43873
a43873
# fedora ghc has been bootstrapped on
a43873
# %%{ix86} x86_64 ppc ppc64 armv7hl s390 s390x ppc64le aarch64
a43873
# and retired arches: alpha sparcv9 armv5tel
a43873
# see also deprecated ghc_arches defined in /etc/rpm/macros.ghc-srpm by redhat-rpm-macros
a43873
a43873
BuildRequires: ghc-compiler
a43873
# for ABI hash checking
a43873
%if %{with abicheck}
a43873
BuildRequires: ghc
a43873
%endif
a43873
BuildRequires: ghc-rpm-macros-extra >= 1.8
a43873
BuildRequires: ghc-binary-devel
a43873
BuildRequires: ghc-bytestring-devel
a43873
BuildRequires: ghc-containers-devel
a43873
BuildRequires: ghc-directory-devel
a43873
BuildRequires: ghc-pretty-devel
a43873
BuildRequires: ghc-process-devel
a43873
BuildRequires: gmp-devel
a43873
BuildRequires: libffi-devel
a43873
# for terminfo
a43873
BuildRequires: ncurses-devel
a43873
# for man and docs
a43873
BuildRequires: perl-interpreter
a43873
BuildRequires: %{_bindir}/python3
a43873
%if %{with docs}
a43873
# python2-sphinx needs python2-babel
a43873
BuildRequires: python3-sphinx
a43873
%endif
a43873
# patch5
a43873
BuildRequires: autoconf
a43873
%ifarch armv7hl
a43873
# patch12
a43873
BuildRequires: autoconf, automake
a43873
%endif
a43873
a43873
# llvm
a43873
%ifarch %{ghc_llvm_archs}
a43873
BuildRequires:	cmake3
a43873
BuildRequires:	zlib-devel
a43873
BuildRequires:	libedit-devel
a43873
BuildRequires:	libffi-devel
a43873
BuildRequires:	ncurses-devel
a43873
#BuildRequires:	python-sphinx
a43873
BuildRequires:	valgrind-devel
a43873
BuildRequires:	libstdc++-static
a43873
%endif
a43873
a43873
Requires: ghc-compiler = %{version}-%{release}
a43873
%if %{with docs}
a43873
Requires: ghc-doc-cron = %{version}-%{release}
a43873
%endif
a43873
Requires: ghc-ghc-devel = %{version}-%{release}
a43873
Requires: ghc-libraries = %{version}-%{release}
a43873
%if %{with docs}
a43873
Requires: ghc-manual = %{version}-%{release}
a43873
%endif
a43873
a43873
%description
a43873
GHC is a state-of-the-art, open source, compiler and interactive environment
a43873
for the functional language Haskell. Highlights:
a43873
a43873
- GHC supports the entire Haskell 2010 language plus a wide variety of
a43873
  extensions.
a43873
- GHC has particularly good support for concurrency and parallelism,
a43873
  including support for Software Transactional Memory (STM).
a43873
- GHC generates fast code, particularly for concurrent programs.
a43873
  Take a look at GHC's performance on The Computer Language Benchmarks Game.
a43873
- GHC works on several platforms including Windows, Mac, Linux,
a43873
  most varieties of Unix, and several different processor architectures.
a43873
- GHC has extensive optimisation capabilities, including inter-module
a43873
  optimisation.
a43873
- GHC compiles Haskell code either directly to native code or using LLVM
a43873
  as a back-end. GHC can also generate C code as an intermediate target for
a43873
  porting to new platforms. The interactive environment compiles Haskell to
a43873
  bytecode, and supports execution of mixed bytecode/compiled programs.
a43873
- Profiling is supported, both by time/allocation and various kinds of heap
a43873
  profiling.
a43873
- GHC comes with several libraries, and thousands more are available on Hackage.
a43873
a43873
a43873
%package compiler
a43873
Summary: GHC compiler and utilities
a43873
License: BSD
a43873
Requires: gcc%{?_isa}
a43873
Requires: ghc-base-devel%{?_isa}
a43873
# for alternatives
a43873
Requires(post): chkconfig
a43873
Requires(postun): chkconfig
a43873
# added in f14
a43873
Obsoletes: ghc-doc < 6.12.3-4
a43873
%if %{without docs}
a43873
Obsoletes: ghc-doc-cron < %{version}-%{release}
a43873
# added in f28
a43873
Obsoletes: ghc-doc-index < %{version}-%{release}
a43873
%endif
a43873
a43873
%description compiler
a43873
The package contains the GHC compiler, tools and utilities.
a43873
a43873
The ghc libraries are provided by ghc-libraries.
a43873
To install all of ghc (including the ghc library),
a43873
install the main ghc package.
a43873
a43873
a43873
%if %{with docs}
a43873
%package doc-cron
a43873
Summary: GHC library documentation indexing cronjob
a43873
License: BSD
a43873
Requires: ghc-compiler = %{version}-%{release}
a43873
Requires: crontabs
a43873
# added in f28
a43873
Obsoletes: ghc-doc-index < %{version}-%{release}
a43873
BuildArch: noarch
a43873
a43873
%description doc-cron
a43873
The package provides a cronjob for re-indexing installed library development
a43873
documention.
a43873
%endif
a43873
a43873
a43873
%if %{with docs}
a43873
%package manual
a43873
Summary: GHC manual
a43873
License: BSD
a43873
BuildArch: noarch
a43873
a43873
%description manual
a43873
This package provides the User Guide and Haddock manual.
a43873
%endif
a43873
a43873
a43873
# ghclibdir also needs ghc_version_override for bootstrapping
a43873
%global ghc_version_override %{version}
a43873
a43873
# EL7 rpm supports fileattrs ghc.attr
a43873
%if 0%{?rhel} && 0%{?rhel} < 7
a43873
# needs ghc_version_override for bootstrapping
a43873
%global _use_internal_dependency_generator 0
a43873
%global __find_provides /usr/lib/rpm/rpmdeps --provides
a43873
%global __find_requires %{_rpmconfigdir}/ghc-deps.sh %{buildroot}%{ghclibdir}
a43873
%endif
a43873
a43873
%global ghc_pkg_c_deps ghc-compiler = %{ghc_version_override}-%{release}
a43873
a43873
%global BSDHaskellReport %{quote:BSD and HaskellReport}
a43873
a43873
# use "./libraries-versions.sh" to check versions
a43873
%if %{defined ghclibdir}
a43873
%ghc_lib_subpackage -d -l BSD Cabal-2.0.1.0
a43873
%ghc_lib_subpackage -d -l %BSDHaskellReport array-0.5.2.0
a43873
%ghc_lib_subpackage -d -l %BSDHaskellReport -c gmp-devel%{?_isa},libffi-devel%{?_isa} base-4.10.1.0
a43873
%ghc_lib_subpackage -d -l BSD binary-0.8.5.1
a43873
%ghc_lib_subpackage -d -l BSD bytestring-0.10.8.2
a43873
%ghc_lib_subpackage -d -l %BSDHaskellReport containers-0.5.10.2
a43873
%ghc_lib_subpackage -d -l %BSDHaskellReport deepseq-1.4.3.0
a43873
%ghc_lib_subpackage -d -l %BSDHaskellReport directory-1.3.0.2
a43873
%ghc_lib_subpackage -d -l BSD filepath-1.4.1.2
a43873
%define ghc_pkg_obsoletes ghc-bin-package-db-devel < 0.0.0.0-12
a43873
# in ghc not ghc-libraries:
a43873
%ghc_lib_subpackage -d -x ghc-%{ghc_version_override}
a43873
%undefine ghc_pkg_obsoletes
a43873
%ghc_lib_subpackage -d -x -l BSD ghc-boot-%{ghc_version_override}
a43873
%ghc_lib_subpackage -d -l BSD ghc-boot-th-%{ghc_version_override}
a43873
%ghc_lib_subpackage -d -l BSD ghc-compact-0.1.0.0
a43873
%ghc_lib_subpackage -d -l BSD -x ghci-%{ghc_version_override}
a43873
%ghc_lib_subpackage -d -l BSD haskeline-0.7.4.0
a43873
%ghc_lib_subpackage -d -l BSD hoopl-3.10.2.2
a43873
%ghc_lib_subpackage -d -l BSD hpc-0.6.0.3
a43873
%ghc_lib_subpackage -d -l BSD pretty-1.1.3.3
a43873
%ghc_lib_subpackage -d -l %BSDHaskellReport process-1.6.1.0
a43873
%ghc_lib_subpackage -d -l BSD template-haskell-2.12.0.0
a43873
%ghc_lib_subpackage -d -l BSD -c ncurses-devel%{?_isa} terminfo-0.4.1.0
a43873
%ghc_lib_subpackage -d -l BSD time-1.8.0.2
a43873
%ghc_lib_subpackage -d -l BSD transformers-0.5.2.0
a43873
%ghc_lib_subpackage -d -l BSD unix-2.7.2.2
a43873
%if %{with docs}
a43873
%ghc_lib_subpackage -d -l BSD xhtml-3000.2.2
a43873
%endif
a43873
%endif
a43873
a43873
%global version %{ghc_version_override}
a43873
a43873
%package libraries
a43873
Summary: GHC development libraries meta package
a43873
License: BSD and HaskellReport
a43873
Requires: ghc-compiler = %{version}-%{release}
a43873
Obsoletes: ghc-devel < %{version}-%{release}
a43873
Provides: ghc-devel = %{version}-%{release}
a43873
Obsoletes: ghc-prof < %{version}-%{release}
a43873
Provides: ghc-prof = %{version}-%{release}
a43873
# since f15
a43873
Obsoletes: ghc-libs < 7.0.1-3
a43873
%{?ghc_packages_list:Requires: %(echo %{ghc_packages_list} | sed -e "s/\([^ ]*\)-\([^ ]*\)/ghc-\1-devel = \2-%{release},/g")}
a43873
a43873
%description libraries
a43873
This is a meta-package for all the development library packages in GHC
a43873
except the ghc library, which is installed by the toplevel ghc metapackage.
a43873
a43873
a43873
%prep
a43873
%ifarch %{ghc_llvm_archs}
a43873
%setup -q -n %{name}-%{version} %{?with_testsuite:-b1} -a10
a43873
(
a43873
cd llvm-%{llvm_version}.src
a43873
%patch106 -p1 -b .instdirs
a43873
%patch174 -p1 -b .julia4
a43873
)
a43873
%else
a43873
%setup -q -n %{name}-%{version} %{?with_testsuite:-b1}
a43873
%endif
a43873
a43873
%patch1 -p1 -b .orig
a43873
a43873
%patch2 -p1 -b .orig
a43873
%patch4 -p1 -b .orig
a43873
%patch5 -p1 -b .orig
a43873
a43873
%if 0%{?fedora} || 0%{?rhel} > 6
a43873
rm -r libffi-tarballs
a43873
%endif
a43873
a43873
%ifarch armv7hl
a43873
%patch12 -p1 -b .orig
a43873
%endif
a43873
a43873
#%%patch24 -p1 -b .orig
a43873
%patch26 -p1 -b .orig
a43873
%patch27 -p1 -b .orig
a43873
%patch28 -p1 -b .orig
a43873
a43873
%global gen_contents_index gen_contents_index.orig
a43873
%if %{with docs}
a43873
if [ ! -f "libraries/%{gen_contents_index}" ]; then
a43873
  echo "Missing libraries/%{gen_contents_index}, needed at end of %%install!"
a43873
  exit 1
a43873
fi
a43873
%endif
a43873
a43873
a43873
%build
a43873
%ifarch %{ghc_llvm_archs}
a43873
(
a43873
cd llvm-%{llvm_version}.src
a43873
mkdir -p _build
a43873
cd _build
a43873
%cmake3 .. \
a43873
	-DBUILD_SHARED_LIBS:BOOL=OFF \
a43873
	-DCMAKE_BUILD_TYPE=RelWithDebInfo \
a43873
	-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-Bsymbolic -static-libstdc++" \
a43873
	-DCMAKE_INSTALL_PREFIX=%{ghclibdir}/llvm \
Pablo Greco a0f86a
	-DLLVM_TARGETS_TO_BUILD="X86;AArch64;ARM" \
a43873
	-DLLVM_ENABLE_LIBCXX:BOOL=OFF \
a43873
	-DLLVM_ENABLE_ZLIB:BOOL=ON \
a43873
	-DLLVM_ENABLE_FFI:BOOL=ON \
a43873
	-DLLVM_ENABLE_RTTI:BOOL=ON \
a43873
	\
a43873
	-DLLVM_BUILD_RUNTIME:BOOL=ON \
a43873
	\
a43873
	-DLLVM_INCLUDE_TOOLS:BOOL=ON \
a43873
	-DLLVM_BUILD_TOOLS:BOOL=ON \
a43873
	\
a43873
	-DLLVM_INCLUDE_TESTS:BOOL=OFF \
a43873
	-DLLVM_BUILD_TESTS:BOOL=OFF \
a43873
	\
a43873
	-DLLVM_INCLUDE_EXAMPLES:BOOL=OFF \
a43873
	-DLLVM_BUILD_EXAMPLES:BOOL=OFF \
a43873
	\
a43873
	-DLLVM_INCLUDE_UTILS:BOOL=OFF \
a43873
	-DLLVM_INSTALL_UTILS:BOOL=OFF \
a43873
	\
a43873
	-DLLVM_INCLUDE_DOCS:BOOL=OFF \
a43873
	-DLLVM_BUILD_DOCS:BOOL=OFF \
a43873
	-DLLVM_ENABLE_SPHINX:BOOL=OFF \
a43873
	-DLLVM_ENABLE_DOXYGEN:BOOL=OFF \
a43873
	-DSPHINX_OUTPUT_HTML:BOOL=OFF \
a43873
	-DSPHINX_WARNINGS_AS_ERRORS:BOOL=OFF \
a43873
	\
a43873
	-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
a43873
	-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
a43873
	-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \
a43873
	-DLLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF \
a43873
a43873
make %{?_smp_mflags}
a43873
)
a43873
%endif
a43873
a43873
# http://hackage.haskell.org/trac/ghc/wiki/Platforms
a43873
# cf https://github.com/gentoo-haskell/gentoo-haskell/tree/master/dev-lang/ghc
a43873
cat > mk/build.mk << EOF
a43873
%if %{with perf_build}
a43873
%ifarch %{ghc_llvm_archs}
a43873
BuildFlavour = perf-llvm
a43873
%else
a43873
BuildFlavour = perf
a43873
%endif
a43873
%else
a43873
%ifarch %{ghc_llvm_archs}
a43873
BuildFlavour = quick-llvm
a43873
%else
a43873
BuildFlavour = quick
a43873
%endif
a43873
%endif
a43873
GhcLibWays = v dyn %{?with_prof:p}
a43873
%if %{with docs}
a43873
HADDOCK_DOCS = YES
a43873
BUILD_MAN = YES
a43873
%else
a43873
HADDOCK_DOCS = NO
a43873
BUILD_MAN = NO
a43873
%endif
a43873
EXTRA_HADDOCK_OPTS += --hyperlinked-source
a43873
BUILD_SPHINX_PDF = NO
a43873
EOF
a43873
## for verbose build output
a43873
#GhcStage1HcOpts=-v4
a43873
## enable RTS debugging:
a43873
## (http://ghc.haskell.org/trac/ghc/wiki/Debugging/RuntimeSystem)
a43873
#EXTRA_HC_OPTS=-debug
a43873
a43873
# for patch12
a43873
%ifarch armv7hl
a43873
autoreconf
a43873
%else
a43873
# for patch5
a43873
autoconf
a43873
%endif
a43873
a43873
%if 0%{?fedora} > 28 || 0%{?rhel} > 7
a43873
%ghc_set_cflags
a43873
%else
a43873
# -Wunused-label is extremely noisy
a43873
%ifarch aarch64 s390x
a43873
CFLAGS="${CFLAGS:-$(echo %optflags | sed -e 's/-Wall -Werror=format-security //')}"
a43873
%else
a43873
CFLAGS="${CFLAGS:-%optflags}"
a43873
%endif
a43873
export CFLAGS
a43873
%endif
a43873
export LDFLAGS="${LDFLAGS:-%{?__global_ldflags}}"
a43873
# for ghc-8.2
a43873
export CC=%{_bindir}/gcc
a43873
# * %%configure induces cross-build due to different target/host/build platform names
a43873
./configure --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \
a43873
  --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \
a43873
  --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \
a43873
  --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} \
a43873
  --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} \
a43873
  --docdir=%{_docdir}/ghc \
a43873
%ifarch %{ghc_llvm_archs}
a43873
  --with-llc=$PWD/llvm-%{llvm_version}.src/_build/bin/llc --with-opt=$PWD/llvm-%{llvm_version}.src/_build/bin/opt \
a43873
%else
a43873
  --with-llc=%{_bindir}/llc-%{llvm_major} --with-opt=%{_bindir}/opt-%{llvm_major} \
a43873
%endif
a43873
%if 0%{?fedora} || 0%{?rhel} > 6
a43873
  --with-system-libffi \
a43873
%endif
a43873
%{nil}
a43873
a43873
# avoid "ghc: hGetContents: invalid argument (invalid byte sequence)"
a43873
export LANG=en_US.utf8
a43873
make %{?_smp_mflags}
a43873
a43873
a43873
%install
a43873
%ifarch %{ghc_llvm_archs}
a43873
(
a43873
cd llvm-%{llvm_version}.src
a43873
cd _build
a43873
make install DESTDIR=%{buildroot}
a43873
)
a43873
%endif
a43873
a43873
make DESTDIR=%{buildroot} install
a43873
a43873
%if %{defined _ghcdynlibdir}
a43873
mv %{buildroot}%{ghclibdir}/*/libHS*ghc%{ghc_version}.so %{buildroot}%{_libdir}/
a43873
for i in $(find %{buildroot} -path %{buildroot}%{ghclibdir}/llvm -prune -o -type f -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print); do
a43873
  chrpath -d $i
a43873
done
a43873
for i in %{buildroot}%{ghclibdir}/package.conf.d/*.conf; do
a43873
  sed -i -e 's!^dynamic-library-dirs: .*!dynamic-library-dirs: %{_libdir}!' $i
a43873
done
a43873
%endif
a43873
a43873
for i in %{ghc_packages_list}; do
a43873
name=$(echo $i | sed -e "s/\(.*\)-.*/\1/")
a43873
ver=$(echo $i | sed -e "s/.*-\(.*\)/\1/")
a43873
%ghc_gen_filelists $name $ver
a43873
%if 0%{?rhel} && 0%{?rhel} < 8
a43873
echo "%%doc libraries/$name/LICENSE" >> ghc-$name.files
a43873
%else
a43873
echo "%%license libraries/$name/LICENSE" >> ghc-$name.files
a43873
%endif
a43873
done
a43873
a43873
echo "%%dir %{ghclibdir}" >> ghc-base%{?_ghcdynlibdir:-devel}.files
a43873
a43873
%ghc_gen_filelists ghc-boot %{ghc_version_override}
a43873
%ghc_gen_filelists ghc %{ghc_version_override}
a43873
%ghc_gen_filelists ghci %{ghc_version_override}
a43873
%ghc_gen_filelists ghc-prim 0.5.1.1
a43873
%ghc_gen_filelists integer-gmp 1.0.1.0
a43873
a43873
%define merge_filelist()\
a43873
cat ghc-%1.files >> ghc-%2.files\
a43873
cat ghc-%1-devel.files >> ghc-%2-devel.files\
a43873
cp -p libraries/%1/LICENSE libraries/LICENSE.%1\
a43873
%if 0%{?rhel} && 0%{?rhel} < 8\
a43873
echo "%%doc libraries/LICENSE.%1" >> ghc-%2.files\
a43873
%else\
a43873
echo "%%license libraries/LICENSE.%1" >> ghc-%2.files\
a43873
%endif
a43873
a43873
%merge_filelist integer-gmp base
a43873
%merge_filelist ghc-prim base
a43873
a43873
# add rts libs
a43873
%if %{defined _ghcdynlibdir}
a43873
echo "%{ghclibdir}/rts" >> ghc-base-devel.files
a43873
%else
a43873
echo "%%dir %{ghclibdir}/rts" >> ghc-base.files
a43873
ls -d %{buildroot}%{ghclibdir}/rts/lib*.a >> ghc-base-devel.files
a43873
%endif
a43873
ls %{buildroot}%{?_ghcdynlibdir}%{!?_ghcdynlibdir:%{ghclibdir}/rts}/libHSrts*.so >> ghc-base.files
a43873
%if 0%{?rhel} && 0%{?rhel} < 7
a43873
ls %{buildroot}%{ghclibdir}/rts/libffi.so.* >> ghc-base.files
a43873
%endif
a43873
%if %{defined _ghcdynlibdir}
a43873
sed -i -e 's!^library-dirs: %{ghclibdir}/rts!&\ndynamic-library-dirs: %{_libdir}!' %{buildroot}%{ghclibdir}/package.conf.d/rts.conf
a43873
%endif
a43873
a43873
ls -d %{buildroot}%{ghclibdir}/package.conf.d/rts.conf %{buildroot}%{ghclibdir}/include >> ghc-base-devel.files
a43873
%if 0%{?rhel} && 0%{?rhel} < 7
a43873
ls %{buildroot}%{ghclibdir}/rts/libffi.so >> ghc-base-devel.files
a43873
%endif
a43873
a43873
sed -i -e "s|^%{buildroot}||g" ghc-base*.files
a43873
a43873
# these are handled as alternatives
a43873
for i in hsc2hs runhaskell; do
a43873
  if [ -x %{buildroot}%{_bindir}/$i-ghc ]; then
a43873
    rm %{buildroot}%{_bindir}/$i
a43873
  else
a43873
    mv %{buildroot}%{_bindir}/$i{,-ghc}
a43873
  fi
a43873
  touch %{buildroot}%{_bindir}/$i
a43873
done
a43873
a43873
%ghc_strip_dynlinked
a43873
a43873
%if %{with docs}
a43873
mkdir -p %{buildroot}%{_sysconfdir}/cron.hourly
a43873
install -p --mode=0755 %SOURCE3 %{buildroot}%{_sysconfdir}/cron.hourly/ghc-doc-index
a43873
mkdir -p %{buildroot}%{_localstatedir}/lib/ghc
a43873
touch %{buildroot}%{_localstatedir}/lib/ghc/pkg-dir.cache{,.new}
a43873
install -p --mode=0755 %SOURCE4 %{buildroot}%{_bindir}/ghc-doc-index
a43873
a43873
# generate initial lib doc index
a43873
cd libraries
a43873
sh %{gen_contents_index} --intree --verbose
a43873
cd ..
a43873
%endif
a43873
a43873
# we package the library license files separately
a43873
find %{buildroot}%{ghc_html_libraries_dir} -name LICENSE -exec rm '{}' ';'
a43873
a43873
# fix llvm paths
a43873
%ifarch %{ghc_llvm_archs}
a43873
sed -i -e "s!$PWD/llvm-%{llvm_version}.src/_build!%{ghclibdir}/llvm!" %{buildroot}%{ghclibdir}/settings
a43873
%endif
a43873
a43873
a43873
%check
a43873
export LANG=en_US.utf8
a43873
# stolen from ghc6/debian/rules:
a43873
GHC=inplace/bin/ghc-stage2
a43873
# Do some very simple tests that the compiler actually works
a43873
rm -rf testghc
a43873
mkdir testghc
a43873
echo 'main = putStrLn "Foo"' > testghc/foo.hs
a43873
$GHC testghc/foo.hs -o testghc/foo
a43873
[ "$(testghc/foo)" = "Foo" ]
a43873
# doesn't seem to work inplace:
a43873
#[ "$(inplace/bin/runghc testghc/foo.hs)" = "Foo" ]
a43873
rm testghc/*
a43873
echo 'main = putStrLn "Foo"' > testghc/foo.hs
a43873
$GHC testghc/foo.hs -o testghc/foo -O2
a43873
[ "$(testghc/foo)" = "Foo" ]
a43873
rm testghc/*
a43873
echo 'main = putStrLn "Foo"' > testghc/foo.hs
a43873
$GHC testghc/foo.hs -o testghc/foo -dynamic
a43873
[ "$(testghc/foo)" = "Foo" ]
a43873
rm testghc/*
a43873
a43873
# check the ABI hashes
a43873
%if %{with abicheck}
a43873
if [ "%{version}" = "$(ghc --numeric-version)" ]; then
a43873
  echo "Checking package ABI hashes:"
a43873
  for i in %{ghc_packages_list}; do
a43873
    old=$(ghc-pkg field $i id --simple-output || :)
a43873
    if [ -n "$old" ]; then
a43873
      new=$(/usr/lib/rpm/ghc-pkg-wrapper %{buildroot}%{ghclibdir} field $i id --simple-output)
a43873
      if [ "$old" != "$new" ]; then
a43873
        echo "ABI hash for $i changed!:" >&2
a43873
        echo "  $old -> $new" >&2
a43873
        ghc_abi_hash_change=yes
a43873
      else
a43873
        echo "($old unchanged)"
a43873
      fi
a43873
    else
a43873
      echo "($i not installed)"
a43873
    fi
a43873
  done
a43873
  if [ "$ghc_abi_hash_change" = "yes" ]; then
a43873
     echo "ghc ABI hash change: aborting build!" >&2
a43873
     exit 1
a43873
  fi
a43873
else
a43873
  echo "ABI hash checks skipped: GHC changed from $(ghc --numeric-version) to %{version}"
a43873
fi
a43873
%endif
a43873
a43873
%if %{with testsuite}
a43873
make test
a43873
%endif
a43873
a43873
a43873
%post compiler
a43873
# Alas, GHC, Hugs, and nhc all come with different set of tools in
a43873
# addition to a runFOO:
a43873
#
a43873
#   * GHC:  hsc2hs
a43873
#   * Hugs: hsc2hs, cpphs
a43873
#   * nhc:  cpphs
a43873
#
a43873
# Therefore it is currently not possible to use --slave below to form
a43873
# link groups under a single name 'runhaskell'. Either these tools
a43873
# should be disentangled from the Haskell implementations, or all
a43873
# implementations should have the same set of tools. *sigh*
a43873
a43873
update-alternatives --install %{_bindir}/runhaskell runhaskell \
a43873
  %{_bindir}/runghc 500
a43873
update-alternatives --install %{_bindir}/hsc2hs hsc2hs \
a43873
  %{_bindir}/hsc2hs-ghc 500
a43873
a43873
%preun compiler
a43873
if [ "$1" = 0 ]; then
a43873
  update-alternatives --remove runhaskell %{_bindir}/runghc
a43873
  update-alternatives --remove hsc2hs     %{_bindir}/hsc2hs-ghc
a43873
fi
a43873
a43873
a43873
%files
a43873
a43873
%files compiler
a43873
%license LICENSE
a43873
%doc ANNOUNCE
a43873
%{_bindir}/ghc
a43873
%{_bindir}/ghc-%{version}
a43873
%{_bindir}/ghc-pkg
a43873
%{_bindir}/ghc-pkg-%{version}
a43873
%{_bindir}/ghci
a43873
%{_bindir}/ghci-%{version}
a43873
%{_bindir}/hp2ps
a43873
%{_bindir}/hpc
a43873
%ghost %{_bindir}/hsc2hs
a43873
%{_bindir}/hsc2hs-ghc
a43873
%{_bindir}/runghc*
a43873
%ghost %{_bindir}/runhaskell
a43873
%{_bindir}/runhaskell-ghc
a43873
%dir %{ghclibdir}/bin
a43873
%{ghclibdir}/bin/ghc
a43873
%{ghclibdir}/bin/ghc-pkg
a43873
%{ghclibdir}/bin/hpc
a43873
%{ghclibdir}/bin/hsc2hs
a43873
%{ghclibdir}/bin/ghc-iserv
a43873
%{ghclibdir}/bin/ghc-iserv-dyn
a43873
%ifarch %{ghc_llvm_archs}
a43873
%license llvm-3.9.1.src/LICENSE.TXT
a43873
%{ghclibdir}/llvm
a43873
%endif
a43873
%if %{with prof}
a43873
%{ghclibdir}/bin/ghc-iserv-prof
a43873
%endif
a43873
%{ghclibdir}/bin/runghc
a43873
%ifnarch s390 s390x %{mips}
a43873
%{ghclibdir}/bin/ghc-split
a43873
%endif
a43873
%{ghclibdir}/bin/hp2ps
a43873
%{ghclibdir}/bin/unlit
a43873
%{ghclibdir}/ghc-usage.txt
a43873
%{ghclibdir}/ghci-usage.txt
a43873
%dir %{ghclibdir}/package.conf.d
a43873
%ghost %{ghclibdir}/package.conf.d/package.cache
a43873
%{ghclibdir}/package.conf.d/package.cache.lock
a43873
%{ghclibdir}/platformConstants
a43873
%{ghclibdir}/settings
a43873
%{ghclibdir}/template-hsc.h
a43873
%dir %{_docdir}/ghc
a43873
%dir %{ghc_html_dir}
a43873
%if %{with docs}
a43873
%{_bindir}/ghc-doc-index
a43873
%{_bindir}/haddock
a43873
%{_bindir}/haddock-ghc-%{version}
a43873
%{ghclibdir}/bin/haddock
a43873
%{ghclibdir}/html
a43873
%{ghclibdir}/latex
a43873
%if %{with docs}
a43873
# https://ghc.haskell.org/trac/ghc/ticket/12939
a43873
%{_mandir}/man1/ghc.1*
a43873
%endif
a43873
%dir %{ghc_html_dir}/libraries
a43873
%{ghc_html_dir}/libraries/gen_contents_index
a43873
%{ghc_html_dir}/libraries/prologue.txt
a43873
%ghost %{ghc_html_dir}/libraries/doc-index*.html
a43873
%ghost %{ghc_html_dir}/libraries/haddock-util.js
a43873
%ghost %{ghc_html_dir}/libraries/hslogo-16.png
a43873
%ghost %{ghc_html_dir}/libraries/index*.html
a43873
%ghost %{ghc_html_dir}/libraries/minus.gif
a43873
%ghost %{ghc_html_dir}/libraries/ocean.css
a43873
%ghost %{ghc_html_dir}/libraries/plus.gif
a43873
%ghost %{ghc_html_dir}/libraries/synopsis.png
a43873
%dir %{_localstatedir}/lib/ghc
a43873
%ghost %{_localstatedir}/lib/ghc/pkg-dir.cache
a43873
%ghost %{_localstatedir}/lib/ghc/pkg-dir.cache.new
a43873
%endif
a43873
a43873
%if %{with docs}
a43873
%files doc-cron
a43873
%config(noreplace) %{_sysconfdir}/cron.hourly/ghc-doc-index
a43873
%endif
a43873
a43873
%files libraries
a43873
a43873
a43873
%if %{with docs}
a43873
%files manual
a43873
## needs pandoc
a43873
#%%{ghc_html_dir}/Cabal
a43873
%{ghc_html_dir}/haddock
a43873
%{ghc_html_dir}/index.html
a43873
%{ghc_html_dir}/users_guide
a43873
%endif
a43873
a43873
a43873
%changelog
Pablo Greco a0f86a
* Mon May 20 2019 Pablo Greco <pgreco@centosproject.org> - 8.2.2-68.3
Pablo Greco a0f86a
- Fix build on armhfp
Pablo Greco a0f86a
a43873
* Tue Aug 14 2018 Petr Viktorin <pviktori@redhat.com> - 8.2.2-68.3
a43873
- Fix BuildRequires for /usr/bin/python3
a43873
- Resolves: #1615517
a43873
a43873
* Sat Jun  2 2018 Jens Petersen <petersen@redhat.com> - 8.2.2-68.2
a43873
- do not delete RPATH for bundled llvm
a43873
- fix docs config
a43873
- add llvm-D25865-cmakeshlib.patch from llvm3.9
a43873
a43873
* Thu May 31 2018 Jens Petersen <petersen@redhat.com> - 8.2.2-68.1
a43873
- apply install_dirs.patch from llvm3.9 to fix llvm RPATHs
a43873
- use ghc_set_cflags
a43873
- turn off the testsuite
a43873
a43873
* Thu May 31 2018 Jens Petersen <petersen@redhat.com> - 8.2.2-68
a43873
- fix sphinx-build version detection
a43873
- merge bcond for haddock and manual
a43873
a43873
* Tue May 29 2018 Jens Petersen <petersen@redhat.com>
a43873
- bundle llvm-3.9 with ghc-compiler for aarch64
a43873
a43873
* Mon May 28 2018 Jens Petersen <petersen@redhat.com> - 8.2.2-67
a43873
- move manuals to new ghc-manual (noarch)
a43873
- rename ghc-doc-index to ghc-doc-cron (noarch)
a43873
- ghost the ghc-doc-index local state files
a43873
- ghost some newer libraries index files
a43873
- simplify and extend bcond for build configuration
a43873
- drop bootstrap builds and do ABI hash checks unless ghc version changed
a43873
- no longer need autotools on aarch64
a43873
a43873
* Tue Apr 10 2018 Jens Petersen <petersen@redhat.com> - 8.2.2-66
a43873
- ghc-pkg: silence the abi-depends warnings
a43873
a43873
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.2.2-65
a43873
- Escape macros in %%changelog
a43873
a43873
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8.2.2-64
a43873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a43873
a43873
* Tue Jan 30 2018 Jens Petersen <petersen@redhat.com> - 8.2.2-63
a43873
- apply Phabricator D4159.patch to workaround
a43873
  https://ghc.haskell.org/trac/ghc/ticket/14381
a43873
a43873
* Thu Jan 25 2018 Jens Petersen <petersen@redhat.com> - 8.2.2-62
a43873
- 8.2.2 perf build
a43873
- https://downloads.haskell.org/~ghc/8.2.2/docs/html/users_guide/8.2.1-notes.html
a43873
- https://downloads.haskell.org/~ghc/8.2.2/docs/html/users_guide/8.2.2-notes.html
a43873
a43873
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 8.2.2-61
a43873
- 8.2.2 bootstrap build
a43873
- install ghc libs in libdir and remove RUNPATHs
a43873
- add shadowed-deps.patch (haskell/cabal#4728)
a43873
- new ghc-compact library
a43873
- exclude ghc-boot for ghc-libraries
a43873
a43873
* Thu Oct 26 2017 Jens Petersen <petersen@redhat.com> - 8.0.2-60
a43873
- fix space in BSDHaskellReport license macro for rpm-4.14
a43873
- mark other subpackages correctly as BSD license
a43873
- drop ghc-boot from ghc-libraries
a43873
a43873
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.2-59
a43873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a43873
a43873
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.2-58
a43873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a43873
a43873
* Fri Feb 17 2017 Jens Petersen <petersen@redhat.com> - 8.0.2-57
a43873
- 8.0.2 perf build
a43873
- http://downloads.haskell.org/~ghc/8.0.2/docs/html/users_guide/8.0.1-notes.html
a43873
- http://downloads.haskell.org/~ghc/8.0.2/docs/html/users_guide/8.0.2-notes.html
a43873
a43873
* Fri Feb 17 2017 Jens Petersen <petersen@redhat.com> - 8.0.2-56
a43873
- update to GHC 8.0 (bootstrap build)
a43873
- backport changes from http://github.com/fedora-haskell/ghc
a43873
  adding some new patches from Debian
a43873
- use llvm3.7 on ARM archs
a43873
- user guide now built with sphinx
a43873
a43873
* Mon Feb 13 2017 Jens Petersen <petersen@redhat.com> - 7.10.3-55
a43873
- use new ghc_lib_subpackage -d option to fix handling of .files
a43873
- configure llc-3.5 and opt-3.5 explicitly for all arch's
a43873
a43873
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.10.3-54
a43873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a43873
a43873
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 7.10.3-53
a43873
- Rebuild for readline 7.x
a43873
a43873
* Wed Oct 26 2016 Jens Petersen <petersen@redhat.com> - 7.10.3-52
a43873
- use license macro
a43873
- update subpackaging for latest ghc-rpm-macros
a43873
- minor spec file cleanups
a43873
- drop old dph and feldspar obsoletes
a43873
- obsoletes ghc-doc-index when without_haddock
a43873
- BR perl
a43873
a43873
* Tue Jul 12 2016 Jens Petersen <petersen@redhat.com> - 7.10.3-51
a43873
- obsolete haskell98 and haskell2010
a43873
- add an ABI change check to prevent unexpected ghc package hash changes
a43873
a43873
* Fri Jun  3 2016 Jens Petersen <petersen@redhat.com> - 7.10.3-50
a43873
- perf build
a43873
- http://downloads.haskell.org/~ghc/7.10.3/docs/html/users_guide/release-7-10-1.html
a43873
- http://downloads.haskell.org/~ghc/7.10.3/docs/html/users_guide/release-7-10-2.html
a43873
- http://downloads.haskell.org/~ghc/7.10.3/docs/html/users_guide/release-7-10-3.html
a43873
a43873
* Wed Jun  1 2016 Jens Petersen <petersen@redhat.com> - 7.10.3-49
a43873
- quick build
a43873
- use 7.10.3b respin tarballs
a43873
- no longer need:
a43873
  - ghc-glibc-2.20_BSD_SOURCE.patch
a43873
  - ghc-7.8-arm-use-ld-gold.patch
a43873
  - ghc-7.8-arm7_saner-linker-opt-handling-9873.patch
a43873
  - ghc-config.mk.in-Enable-SMP-and-GHCi-support-for-Aarch64.patch
a43873
  - build_minimum_smp
a43873
- add Debian packages:
a43873
  - buildpath-abi-stability
a43873
  - no-missing-haddock-file-warning
a43873
  - reproducible-tmp-names
a43873
- use llvm35
a43873
- add libraries-versions.sh script
a43873
- all library versions updates except xhtml
a43873
- BR ghc-rpm-macros-extra for all OS versions
a43873
- support building on EL6
a43873
- deprecated libraries: haskell2010, haskell98, old-locale, old-time
a43873
- symlink for integer-gmp2
a43873
- add llvm_major
a43873
a43873
* Tue Mar  8 2016 Michal Toman <mtoman@fedoraproject.org> - 7.8.4-48
a43873
- do not package ghc-split on MIPS (#1294873)
a43873
a43873
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.8.4-47
a43873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a43873
a43873
* Tue Jun 16 2015 Jens Petersen <petersen@redhat.com> - 7.8.4-46
a43873
- rebuild
a43873
a43873
* Thu Jun 11 2015 Jens Petersen <petersen@fedoraproject.org> - 7.8.4-45
a43873
- use ld.gold on aarch64 like for armv7 (Erik de Castro Lopo, #1195231)
a43873
a43873
* Wed Apr 22 2015 Jens Petersen <petersen@redhat.com> - 7.8.4-44
a43873
- turn on SMP and ghci for aarch64 (Erik de Castro Lopo, #1203951)
a43873
- use "make -j2" for s390 (#1212374)
a43873
a43873
* Mon Mar 30 2015 Jens Petersen <petersen@redhat.com> - 7.8.4-43
a43873
- aarch64 production build
a43873
a43873
* Mon Mar 23 2015 Jens Petersen <petersen@redhat.com> - 7.8.4-42.2
a43873
- aarch64 bootstrap build
a43873
- must use "make -j16" for Intel arches to preserve ABI hashes
a43873
  (-j12 changed array's hash on i686)
a43873
a43873
* Wed Mar 18 2015 Jens Petersen <petersen@redhat.com> - 7.8.4-42.1
a43873
- fix build.mk BuildFlavour setup
a43873
- improve the smp make setup with build_minimum_smp
a43873
- bootstrap for aarch64 without ghci (#1195231)
a43873
- disable ld hardening for F23 on 64bit and armv7hl
a43873
a43873
* Sat Feb 14 2015 Jens Petersen <petersen@redhat.com> - 7.8.4-42
a43873
- try "make -j16" on Intel arches to keep ABI hashes same as -40
a43873
a43873
* Mon Feb  9 2015 Jens Petersen <petersen@redhat.com> - 7.8.4-41
a43873
- update the arm64 patch for 7.8.4
a43873
- all archs have bindir/ghci
a43873
a43873
* Sun Jan 18 2015 Jens Petersen <petersen@redhat.com> - 7.8.4-40
a43873
- production build
a43873
- version doc htmldirs again
a43873
a43873
* Sat Jan 17 2015 Jens Petersen <petersen@redhat.com> - 7.8.4-39
a43873
- update to 7.8.4
a43873
- bump release over haskell-platform xhtml
a43873
- https://www.haskell.org/ghc/docs/7.8.4/html/users_guide/release-7-8-1.html
a43873
- https://www.haskell.org/ghc/docs/7.8.4/html/users_guide/release-7-8-2.html
a43873
- https://www.haskell.org/ghc/docs/7.8.4/html/users_guide/release-7-8-3.html
a43873
- https://www.haskell.org/ghc/docs/7.8.4/html/users_guide/release-7-8-4.html
a43873
- bootstrap build
a43873
- provides haskeline, terminfo and xhtml libraries
a43873
- shared libraries on all archs
a43873
- bindir/ghci only on ghc_arches_with_ghci
a43873
- use ld.gold on ARMv7 (see https://ghc.haskell.org/trac/ghc/ticket/8976)
a43873
  [thanks to Joachim Breitner for workaround patches posted upstream]
a43873
a43873
* Tue Nov 18 2014 Jens Petersen <petersen@redhat.com> - 7.6.3-28
a43873
- remove the build hack to switch from llvm to llvm34 (#1161049)
a43873
- use rpm internal dependency generator with ghc.attr on F21+
a43873
- fix bash-ism in ghc-doc-index (#1146733)
a43873
- do "quick" build when bootstrapping
a43873
- setup LDFLAGS
a43873
a43873
* Mon Nov 17 2014 Jens Petersen <petersen@redhat.com> - 7.6.3-27
a43873
- use llvm34 instead of llvm-3.5 for arm (#1161049)
a43873
a43873
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.6.3-26
a43873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a43873
a43873
* Tue Jul 15 2014 Jens Petersen <petersen@redhat.com> - 7.6.3-25
a43873
- configure ARM with VFPv3D16 and without NEON (#995419)
a43873
- only apply the Cabal unversion docdir patch to F21 and later
a43873
- hide llvm version warning on ARM now up to 3.4
a43873
a43873
* Fri Jun  6 2014 Jens Petersen <petersen@redhat.com> - 7.6.3-24
a43873
- add aarch64 with Debian patch by Karel Gardas and Colin Watson
a43873
- patch Stg.h to define _DEFAULT_SOURCE instead of _BSD_SOURCE to quieten
a43873
  glibc 2.20 warnings (see #1067110)
a43873
a43873
* Fri May 30 2014 Jens Petersen <petersen@redhat.com> - 7.6.3-23
a43873
- bump release
a43873
a43873
* Fri May 30 2014 Jens Petersen <petersen@redhat.com> - 7.6.3-22
a43873
- add ppc64le support patch from Debian by Colin Watson
a43873
  (thanks to Jaromir Capik for Fedora ppc64le bootstrap)
a43873
a43873
* Wed Jan 29 2014 Jens Petersen <petersen@redhat.com> - 7.6.3-21
a43873
- fix segfault on i686 when using ffi double-mapping for selinux (#907515)
a43873
  see http://hackage.haskell.org/trac/ghc/ticket/7629
a43873
  (thanks Garrett Mitchener for patch committed upstream)
a43873
a43873
* Wed Oct 30 2013 Jens Petersen <petersen@redhat.com> - 7.6.3-20
a43873
- enable debuginfo for C code bits (#989593)
a43873
- back to production build
a43873
a43873
* Tue Oct 29 2013 Jens Petersen <petersen@redhat.com> - 7.6.3-19
a43873
- fix rts hang on 64bit bigendian archs (patch by Gustavo Luiz Duarte, #989593)
a43873
- generate and ship library doc index for ghc bundled libraries
a43873
- build with utf8 encoding (needed for verbose ghc output
a43873
  and makes better sense anyway)
a43873
- change ghc-cabal to make library html docdirs unversioned
a43873
- bootstrap build
a43873
a43873
* Sat Jul 27 2013 Jóhann B. Guðmundsson <johannbg@fedoraproject.org> - 7.6.3-18
a43873
- ghc-doc-index requires crontabs and mark cron file config noreplace
a43873
  (http://fedoraproject.org/wiki/Packaging:CronFiles)
a43873
a43873
* Wed Jul 24 2013 Jens Petersen <petersen@redhat.com> - 7.6.3-17
a43873
- silence warnings about unsupported llvm version (> 3.1) on ARM
a43873
a43873
* Thu Jul 11 2013 Jens Petersen <petersen@redhat.com> - 7.6.3-16
a43873
- revert the executable stack patch since it didn't fully fix the problem
a43873
  and yet changed the ghc library hash
a43873
a43873
* Wed Jul 10 2013 Jens Petersen <petersen@redhat.com> - 7.6.3-15
a43873
- turn off executable stack flag in executables (#973512)
a43873
  (thanks Edward Zhang for upstream patch and Dhiru Kholia for report)
a43873
a43873
* Tue Jun 25 2013 Jens Petersen <petersen@redhat.com> - 7.6.3-14
a43873
- fix compilation with llvm-3.3 (#977652)
a43873
  see http://hackage.haskell.org/trac/ghc/ticket/7996
a43873
a43873
* Thu Jun 20 2013 Jens Petersen <petersen@redhat.com> - 7.6.3-13
a43873
- production perf -O2 build
a43873
- see release notes:
a43873
  http://www.haskell.org/ghc/docs/7.6.3/html/users_guide/release-7-6-1.html
a43873
  http://www.haskell.org/ghc/docs/7.6.3/html/users_guide/release-7-6-2.html
a43873
  http://www.haskell.org/ghc/docs/7.6.3/html/users_guide/release-7-6-3.html
a43873
a43873
* Thu Jun 20 2013 Jens Petersen <petersen@redhat.com> - 7.6.3-12
a43873
- bootstrap 7.6.3
a43873
- all library versions bumped except pretty
a43873
- ghc-7.4-add-support-for-ARM-hard-float-ABI-fixes-5914.patch, and
a43873
  ghc-7.4-silence-gen_contents_index.patch are no longer needed
a43873
- build with ghc-rpm-macros-extra
a43873
- no longer filter type-level package from haddock index
a43873
- process obsoletes process-leksah
a43873
- do production build with BuildFlavour perf (#880135)
a43873
a43873
* Tue Feb  5 2013 Jens Petersen <petersen@redhat.com> - 7.4.2-11
a43873
- ghclibdir should be owned at runtime by ghc-base instead of ghc-compiler
a43873
  (thanks Michael Scherer, #907671)
a43873
a43873
* Thu Jan 17 2013 Jens Petersen <petersen@redhat.com> - 7.4.2-10
a43873
- rebuild for F19 libffi soname bump
a43873
a43873
* Wed Nov 21 2012 Jens Petersen <petersen@redhat.com> - 7.4.2-9
a43873
- fix permissions of ghc-doc-index and only run when root
a43873
- ghc-doc-index cronjob no longer looks at /etc/sysconfig/ghc-doc-index
a43873
a43873
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 7.4.2-8
a43873
- production 7.4.2 build
a43873
  http://www.haskell.org/ghc/docs/7.4.2/html/users_guide/release-7-4-2.html
a43873
a43873
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 7.4.2-7
a43873
- 7.4.2 bootstrap
a43873
- update base and unix library versions
a43873
- ARM StgCRun patches not longer needed
a43873
- use Karel Gardas' ARM hardfloat patch committed upstream
a43873
- use _smp_mflags again
a43873
- disable Cabal building ghci lib files
a43873
- silence the doc re-indexing script and move the doc indexing cronjob
a43873
  to a new ghc-doc-index subpackage (#870694)
a43873
- do not disable hscolour in build.mk
a43873
- drop the explicit hscolour BR
a43873
- without_hscolour should now be set by ghc-rpm-macros for bootstrapping
a43873
a43873
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.4.1-6
a43873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a43873
a43873
* Fri Jun 15 2012 Jens Petersen <petersen@redhat.com> - 7.4.1-5
a43873
- use ghc_lib_subpackage instead of ghc_binlib_package (ghc-rpm-macros 0.91)
a43873
a43873
* Wed May  2 2012 Jens Petersen <petersen@redhat.com> - 7.4.1-4
a43873
- add ghc-wrapper-libffi-include.patch to workaround "missing libffi.h"
a43873
  for prof compiling on secondary archs
a43873
a43873
* Sat Apr 28 2012 Jens Petersen <petersen@redhat.com> - 7.4.1-3
a43873
- build with llvm-3.0 on ARM
a43873
- remove ARM from unregisterised_archs
a43873
- add 4 Debian ARM patches for armel and armhf (Iain Lane)
a43873
a43873
* Wed Mar 21 2012 Jens Petersen <petersen@redhat.com> - 7.4.1-2
a43873
- full build
a43873
a43873
* Wed Feb 15 2012 Jens Petersen <petersen@redhat.com> - 7.4.1-1
a43873
- update to new 7.4.1 major release
a43873
  http://www.haskell.org/ghc/docs/7.4.1/html/users_guide/release-7-4-1.html
a43873
- all library versions bumped
a43873
- binary package replaces ghc-binary
a43873
- random library dropped
a43873
- new hoopl library
a43873
- deepseq is now included in ghc
a43873
- Cabal --enable-executable-dynamic patch is upstream
a43873
- add Cabal-fix-dynamic-exec-for-TH.patch
a43873
- sparc linking fix is upstream
a43873
- use Debian's system-libffi patch by Joachim Breitner
a43873
- setup ghc-deps.sh after ghc_version_override for bootstrapping
a43873
- drop ppc64 config, pthread and mmap patches
a43873
- do not set GhcUnregisterised explicitly
a43873
- add s390 and s390x to unregisterised_archs
a43873
- Cabal manual needs pandoc
a43873
a43873
* Thu Jan 19 2012 Jens Petersen <petersen@redhat.com> - 7.0.4-42
a43873
- move ghc-ghc-devel from ghc-libraries to the ghc metapackage
a43873
a43873
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.0.4-41
a43873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a43873
a43873
* Mon Nov 14 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-40
a43873
- do alternatives handling correctly (reported by Giam Teck Choon, #753661)
a43873
  see https://fedoraproject.org/wiki/Packaging:Alternatives
a43873
a43873
* Sat Nov 12 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-39
a43873
- move ghc-doc and ghc-libs obsoletes
a43873
- add HaskellReport license also to the base and libraries subpackages
a43873
a43873
* Thu Nov 10 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-38
a43873
- the post and postun scripts are now for the compiler subpackage
a43873
a43873
* Wed Nov  2 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-37
a43873
- rename ghc-devel metapackage to ghc-libraries
a43873
- require ghc-rpm-macros-0.14
a43873
a43873
* Tue Nov  1 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-36
a43873
- move compiler and tools to ghc-compiler
a43873
- the ghc base package is now a metapackage that installs all of ghc,
a43873
  ie ghc-compiler and ghc-devel (#750317)
a43873
- drop ghc-doc provides
a43873
a43873
* Fri Oct 28 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-35.1
a43873
- rebuild against new gmp
a43873
a43873
* Fri Oct 28 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-35
a43873
- add HaskellReport license tag to some of the library subpackages
a43873
  which contain some code from the Haskell Reports
a43873
a43873
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 7.0.4-34.1
a43873
- rebuild with new gmp without compat lib
a43873
a43873
* Thu Oct 20 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-34
a43873
- setup ghc-deps.sh after ghc_version_override for bootstrapping
a43873
a43873
* Tue Oct 18 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-33
a43873
- add armv5tel (ported by Henrik Nordström)
a43873
- also use ghc-deps.sh when bootstrapping (ghc-rpm-macros-0.13.13)
a43873
a43873
* Mon Oct 17 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-32
a43873
- remove libffi_archs: not allowed to bundle libffi on any arch
a43873
- include the ghc (ghci) library in ghc-devel (Narasim)
a43873
a43873
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 7.0.4-31.1
a43873
- rebuild with new gmp
a43873
a43873
* Fri Sep 30 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-31
a43873
- build with ghc-rpm-macros >= 0.13.11 to fix provides and obsoletes versions
a43873
  in library devel subpackages
a43873
a43873
* Thu Sep 29 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-30
a43873
- no need to specify -lffi in build.mk (Henrik Nordström)
a43873
a43873
* Wed Sep 28 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-29
a43873
- port to armv7hl by Henrik Nordström (#741725)
a43873
a43873
* Wed Sep 14 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-28
a43873
- setup ghc-deps.sh when not bootstrapping!
a43873
a43873
* Wed Sep 14 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-27
a43873
- setup dependency generation with ghc-deps.sh since it was moved to
a43873
  ghc_lib_install in ghc-rpm-macros
a43873
a43873
* Fri Jun 17 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-26
a43873
- BR same ghc version unless ghc_bootstrapping defined
a43873
- add libffi_archs
a43873
- drop the quick build profile
a43873
- put dyn before p in GhcLibWays
a43873
- explain new bootstrapping mode using ghc_bootstrap (ghc-rpm-macros-0.13.5)
a43873
a43873
* Thu Jun 16 2011 Jens Petersen <petersen@redhat.com> - 7.0.4-25
a43873
- update to 7.0.4 bugfix release
a43873
  http://haskell.org/ghc/docs/7.0.4/html/users_guide/release-7-0-4.html
a43873
- strip static again (upstream #5004 fixed)
a43873
- Cabal updated to 1.10.2.0
a43873
- re-enable testsuite
a43873
- update summary and description
a43873
a43873
* Tue Jun 14 2011 Jens Petersen <petersen@redhat.com> - 7.0.2-24
a43873
- finally change from ExclusiveArch to ExcludeArch to target more archs
a43873
a43873
* Sat May 21 2011 Jens Petersen <petersen@redhat.com> - 7.0.2-23
a43873
- obsolete dph libraries and feldspar-language
a43873
a43873
* Mon May 16 2011 Jens Petersen <petersen@redhat.com> - 7.0.2-22
a43873
- merge prof subpackages into the devel subpackages with ghc-rpm-macros-0.13
a43873
a43873
* Wed May 11 2011 Jens Petersen <petersen@redhat.com> - 7.0.2-21
a43873
- configure with /usr/bin/gcc to help bootstrapping to new archs
a43873
  (otherwise ccache tends to get hardcoded as gcc, which not in koji)
a43873
- posttrans scriplet for ghc_pkg_recache is redundant
a43873
a43873
* Mon May  9 2011 Jens Petersen <petersen@redhat.com> - 7.0.2-20
a43873
- make devel and prof meta packages require libs with release
a43873
- make ghc-*-devel subpackages require ghc with release
a43873
a43873
* Wed May 04 2011 Jiri Skala <jskala@redhat.com> - 7.0.2-19.1
a43873
- fixes path to gcc on ppc64 arch
a43873
a43873
* Tue Apr 26 2011 Jens Petersen <petersen@redhat.com> - 7.0.2-19
a43873
- add upstream ghc-powerpc-linker-mmap.patch for ppc64 (Jiri Skala)
a43873
a43873
* Thu Apr 21 2011 Jiri Skala <jskala@redhat.com> - 7.0.2-18
a43873
- bootstrap to ppc64
a43873
a43873
* Fri Apr  1 2011 Jens Petersen <petersen@redhat.com> - 7.0.2-17
a43873
- rebuild against ghc-rpm-macros-0.11.14 to provide ghc-*-doc
a43873
a43873
* Fri Apr  1 2011 Jens Petersen <petersen@redhat.com> - 7.0.2-16
a43873
- provides ghc-doc again: it is still a buildrequires for libraries
a43873
- ghc-prof now requires ghc-devel
a43873
- ghc-devel now requires ghc explicitly
a43873
a43873
* Wed Mar 30 2011 Jens Petersen <petersen@redhat.com> - 7.0.2-15
a43873
- do not strip static libs since it breaks ghci-7.0.2 loading libHSghc.a
a43873
  (see http://hackage.haskell.org/trac/ghc/ticket/5004)
a43873
- no longer provide ghc-doc
a43873
- no longer obsolete old haddock
a43873
a43873
* Tue Mar 29 2011 Jens Petersen <petersen@redhat.com> - 7.0.2-14
a43873
- fix back missing LICENSE files in library subpackages
a43873
- drop ghc_reindex_haddock from install script
a43873
a43873
* Thu Mar 10 2011 Jens Petersen <petersen@redhat.com> - 7.0.2-13
a43873
- rebuild against 7.0.2
a43873
a43873
* Wed Mar  9 2011 Jens Petersen <petersen@redhat.com> - 7.0.2-12
a43873
- update to 7.0.2 release
a43873
- move bin-package-db into ghc-ghc
a43873
- disable broken testsuite
a43873
a43873
* Wed Feb 23 2011 Fabio M. Di Nitto <fdinitto@redhat.com> 7.0.1-11
a43873
- enable build on sparcv9
a43873
- add ghc-fix-linking-on-sparc.patch to fix ld being called
a43873
  at the same time with --relax and -r. The two options conflict
a43873
  on sparc.
a43873
- bump BuildRequires on ghc-rpm-macros to >= 0.11.10 that guarantees
a43873
  a correct build on secondary architectures.
a43873
a43873
* Sun Feb 13 2011 Jens Petersen <petersen@redhat.com>
a43873
- without_shared renamed to ghc_without_shared
a43873
a43873
* Thu Feb 10 2011 Jens Petersen <petersen@redhat.com> - 7.0.1-10
a43873
- rebuild
a43873
a43873
* Thu Feb 10 2011 Jens Petersen <petersen@redhat.com> - 7.0.1-9
a43873
- fix without_shared build (thanks Adrian Reber)
a43873
- disable system libffi for secondary archs
a43873
- temporarily disable ghc-*-devel BRs for ppc
a43873
a43873
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.0.1-8
a43873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a43873
a43873
* Mon Jan 31 2011 Jens Petersen <petersen@redhat.com> - 7.0.1-7
a43873
- include LICENSE files in the shared lib subpackages
a43873
a43873
* Sat Jan 22 2011 Jens Petersen <petersen@redhat.com> - 7.0.1-6
a43873
- patch Cabal to add configure option --enable-executable-dynamic
a43873
- exclude huge ghc API library from devel and prof metapackages
a43873
a43873
* Thu Jan 13 2011 Jens Petersen <petersen@redhat.com> - 7.0.1-5
a43873
- fix no doc and no manual builds
a43873
a43873
* Thu Jan 13 2011 Jens Petersen <petersen@redhat.com> - 7.0.1-4
a43873
- add BRs for various subpackaged ghc libraries needed to build ghc
a43873
- condition rts .so libraries for non-shared builds
a43873
a43873
* Thu Dec 30 2010 Jens Petersen <petersen@redhat.com> - 7.0.1-3
a43873
- subpackage all the libraries with ghc-rpm-macros-0.11.1
a43873
- put rts, integer-gmp and ghc-prim in base, and ghc-binary in bin-package-db
a43873
- drop the libs mega-subpackage
a43873
- prof now a meta-package for backward compatibility
a43873
- add devel meta-subpackage to easily install all ghc libraries
a43873
- store doc cronjob package cache file under /var (#664850)
a43873
- drop old extralibs bcond
a43873
- no longer need to define or clean buildroot
a43873
- ghc base package now requires ghc-base-devel
a43873
- drop ghc-time obsoletes
a43873
a43873
* Wed Nov 24 2010 Jens Petersen <petersen@redhat.com> - 7.0.1-2
a43873
- require libffi-devel
a43873
a43873
* Tue Nov 16 2010 Jens Petersen <petersen@redhat.com> - 7.0.1-1
a43873
- update to 7.0.1 release
a43873
- turn on system libffi now
a43873
a43873
* Mon Nov  8 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-9
a43873
- disable the libffi changes for now since they break libHSffi*.so
a43873
a43873
* Thu Nov  4 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-8
a43873
- add a cronjob for doc indexing
a43873
- disable gen_contents_index when not run with --batch for cron
a43873
- use system libffi with ghc-use-system-libffi.patch from debian
a43873
- add bcond for system libffi
a43873
a43873
* Thu Nov  4 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-7
a43873
- skip huge type-level docs from haddock re-indexing (#649228)
a43873
a43873
* Thu Sep 30 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-6
a43873
- move gtk2hs obsoletes to ghc-glib and ghc-gtk
a43873
- drop happy buildrequires
a43873
- smp build with max 4 cpus
a43873
a43873
* Fri Jul 30 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-5
a43873
- obsolete old gtk2hs packages for smooth upgrades
a43873
a43873
* Thu Jul 15 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-4
a43873
- merge ghc-doc into base package
a43873
- obsolete ghc-time and ghc-ghc-doc (ghc-rpm-macros-0.8.0)
a43873
- note that ghc-6.12.3 is part of haskell-platform-2010.2.0.0
a43873
a43873
* Thu Jun 24 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-3
a43873
- drop the broken summary and description args to the ghc-ghc package
a43873
  and use ghc-rpm-macros-0.6.1
a43873
a43873
* Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-2
a43873
- strip all dynlinked files not just shared objects (ghc-rpm-macros-0.5.9)
a43873
a43873
* Mon Jun 14 2010 Jens Petersen <petersen@redhat.com> - 6.12.3-1
a43873
- 6.12.3 release:
a43873
  http://darcs.haskell.org/download/docs/6.12.3/html/users_guide/release-6-12-3.html
a43873
- build with hscolour
a43873
- use ghc-rpm-macro-0.5.8 for ghc_strip_shared macro
a43873
a43873
* Fri May 28 2010 Jens Petersen <petersen@redhat.com> - 6.12.2.20100521-1
a43873
- 6.12.3 rc1
a43873
- ghost package.cache
a43873
- drop ghc-utf8-string obsoletes since it is no longer provided
a43873
- run testsuite fast
a43873
- fix description and summary of ghc internal library (John Obbele)
a43873
a43873
* Fri Apr 23 2010 Jens Petersen <petersen@redhat.com> - 6.12.2-1
a43873
- update to 6.12.2
a43873
- add testsuite with bcond, run it in check section, and BR python
a43873
a43873
* Mon Apr 12 2010 Jens Petersen <petersen@redhat.com> - 6.12.1-6
a43873
- ghc-6.12.1 is part of haskell-platform-2010.1.0.0
a43873
- drop old ghc682, ghc681, haddock09 obsoletes
a43873
- drop haddock_version and no longer provide haddock explicitly
a43873
- update ghc-rpm-macros BR to 0.5.6 for ghc_pkg_recache
a43873
a43873
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 6.12.1-5
a43873
- drop ghc-6.12.1-no-filter-libs.patch and extras packages again
a43873
- filter ghc-ghc-prof files from ghc-prof
a43873
- ghc-mtl package was added to fedora
a43873
a43873
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 6.12.1-4
a43873
- ghc-rpm-macros-0.5.4 fixes wrong version requires between lib subpackages
a43873
a43873
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 6.12.1-3
a43873
- ghc-rpm-macros-0.5.2 fixes broken pkg_name requires for lib subpackages
a43873
a43873
* Tue Dec 22 2009 Jens Petersen <petersen@redhat.com> - 6.12.1-2
a43873
- include haskeline, mtl, and terminfo for now with
a43873
  ghc-6.12.1-no-filter-libs.patch
a43873
- use ghc_binlibpackage, grep -v and ghc_gen_filelists to generate
a43873
  the library subpackages (ghc-rpm-macros-0.5.1)
a43873
- always set GhcLibWays (Lorenzo Villani)
a43873
- use ghcdocbasedir to revert html doc path to upstream's html/ for consistency
a43873
a43873
* Wed Dec 16 2009 Jens Petersen <petersen@redhat.com> - 6.12.1-1
a43873
- pre became 6.12.1 final
a43873
- exclude ghc .conf file from package.conf.d in base package
a43873
- use ghc_reindex_haddock
a43873
- add scripts for ghc-ghc-devel and ghc-ghc-doc
a43873
- add doc bcond
a43873
- add ghc-6.12.1-gen_contents_index-haddock-path.patch to adjust haddock path
a43873
  since we removed html/ from libraries path
a43873
- require ghc-rpm-macros-0.3.1 and use ghc_version_override
a43873
a43873
* Sat Dec 12 2009 Jens Petersen <petersen@redhat.com> - 6.12.1-0.2
a43873
- remove redundant mingw and perl from ghc-tarballs/
a43873
- fix exclusion of ghc internals lib from base packages with -mindepth
a43873
- rename the final file lists to PKGNAME.files for clarity
a43873
a43873
* Fri Dec 11 2009 Jens Petersen <petersen@redhat.com> - 6.12.1-0.1
a43873
- update to ghc-6.12.1-pre
a43873
- separate bcond options into enabled and disabled for clarity
a43873
- only enable shared for intel x86 archs (Lorenzo Villani)
a43873
- add quick build profile (Lorenzo Villani)
a43873
- remove package_debugging hack (use "make install-short")
a43873
- drop sed BR (Lorenzo Villani)
a43873
- put all build.mk config into one cat block (Lorenzo Villani)
a43873
- export CFLAGS to configure (Lorenzo Villani)
a43873
- add dynamic linking test to check section (thanks Lorenzo Villani)
a43873
- remove old ghc66 obsoletes
a43873
- subpackage huge ghc internals library (thanks Lorenzo Villani)
a43873
  - BR ghc-rpm-macros >= 0.3.0
a43873
- move html docs to docdir/ghc from html subdir (Lorenzo Villani)
a43873
- disable smp build for now: broken for 8 cpus at least
a43873
a43873
* Wed Nov 18 2009 Jens Petersen <petersen@redhat.com> - 6.12.0.20091121-1
a43873
- update to 6.12.1 rc2
a43873
- build shared libs, yay! and package in standalone libs subpackage
a43873
- add bcond for manual and extralibs
a43873
- reenable ppc secondary arch
a43873
- don't provide ghc-haddock-*
a43873
- remove obsolete post requires policycoreutils
a43873
- add vanilla v to GhcLibWays when building without prof
a43873
- handle without hscolour
a43873
- can't smp make currently
a43873
- lots of filelist fixes for handling shared libs
a43873
- run ghc-pkg recache posttrans
a43873
- no need to install gen_contents_index by hand
a43873
- manpage is back
a43873
a43873
* Thu Nov 12 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.12.0.20091010-8
a43873
- comprehensive attempts at packaging fixes
a43873
a43873
* Thu Nov 12 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.12.0.20091010-7
a43873
- fix package.conf stuff
a43873
a43873
* Thu Nov 12 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.12.0.20091010-6
a43873
- give up trying to install man pages
a43873
a43873
* Thu Nov 12 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.12.0.20091010-5
a43873
- try to install man pages
a43873
a43873
* Thu Nov 12 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.12.0.20091010-3
a43873
- fix %%check
a43873
a43873
* Sun Oct 11 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.12.0.20091010-2
a43873
- disable ppc for now (seems unsupported)
a43873
- buildreq ncurses-devel
a43873
a43873
* Sun Oct 11 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.12.0.20091010-1
a43873
- Update to 6.12 RC 1
a43873
a43873
* Thu Oct  1 2009 Jens Petersen <petersen@redhat.com>
a43873
- selinux file context no longer needed in post script
a43873
- (for ghc-6.12-shared) drop ld.so.conf.d files
a43873
a43873
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.10.4-2
a43873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a43873
a43873
* Tue Jul 21 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.10.4-1
a43873
- update to 6.10.4
a43873
a43873
* Sat May 30 2009 Jens Petersen <petersen@redhat.com> - 6.10.3-3
a43873
- add haddock_version and use it to obsolete haddock and ghc-haddock-*
a43873
a43873
* Fri May 22 2009 Jens Petersen <petersen@redhat.com> - 6.10.3-2
a43873
- update haddock provides and obsoletes
a43873
- drop ghc-mk-pkg-install-inplace.patch: no longer needed with new 6.11 buildsys
a43873
- add bcond for extralibs
a43873
- rename doc bcond to manual
a43873
a43873
* Wed May 13 2009 Jens Petersen <petersen@redhat.com> - 6.10.3-1
a43873
- update to 6.10.3
a43873
- haskline replaces editline, so it is no longer needed to build
a43873
- macros.ghc moved to ghc-rpm-macros package
a43873
- fix handling of hscolor files in filelist generation
a43873
a43873
* Tue Apr 28 2009 Jens Petersen <petersen@redhat.com> - 6.10.2-4
a43873
- add experimental bcond hscolour
a43873
- add experimental support for building shared libraries (for ghc-6.11)
a43873
  - add libs subpackage for shared libraries
a43873
  - create a ld.conf.d file for libghc*.so
a43873
  - BR libffi-devel
a43873
- drop redundant setting of GhcLibWays in build.mk for no prof
a43873
- drop redundant setting of HADDOCK_DOCS
a43873
- simplify filelist names
a43873
- add a check section based on tests from debian's package
a43873
- be more careful about doc files in filelist
a43873
a43873
* Fri Apr 24 2009 Jens Petersen <petersen@redhat.com> - 6.10.2-3
a43873
- define ghc_version in macros.ghc in place of ghcrequires
a43873
- drop ghc-requires script for now
a43873
a43873
* Sun Apr 19 2009 Jens Petersen <petersen@redhat.com> - 6.10.2-2
a43873
- add ghc-requires rpm script to generate ghc version dependencies
a43873
  (thanks to Till Maas)
a43873
- update macros.ghc:
a43873
  - add %%ghcrequires to call above script
a43873
  - pkg_libdir and pkg_docdir obsoleted in packages and replaced
a43873
    by ghcpkgdir and ghcdocdir inside macros.ghc
a43873
  - make filelist also for docs
a43873
a43873
* Wed Apr 08 2009 Bryan O'Sullivan <bos@serpentine.com> - 6.10.2-1
a43873
- Update to 6.10.2
a43873
a43873
* Fri Feb 27 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-13
a43873
- ok let's stick with ExclusiveArch for brevity
a43873
a43873
* Fri Feb 27 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-12
a43873
- drop ghc_archs since it breaks koji
a43873
- fix missing -devel in ghc_gen_filelists
a43873
- change from ExclusiveArch to ExcludeArch ppc64 since alpha was bootstrapped
a43873
  by oliver
a43873
a43873
* Wed Feb 25 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-11
a43873
- use %%ix86 for change from i386 to i586 in rawhide
a43873
- add ghc_archs macro in macros.ghc for other packages
a43873
- obsolete haddock09
a43873
- use %%global instead of %%define
a43873
- use bcond for doc and prof
a43873
- rename ghc_gen_filelists lib filelist to -devel.files
a43873
a43873
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.10.1-10
a43873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a43873
a43873
* Fri Feb 13 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-9
a43873
- require and buildrequire libedit-devel > 2.11-2
a43873
- protect ghc_register_pkg and ghc_unregister_pkg
a43873
a43873
* Fri Jan 23 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-8
a43873
- fix to libedit means can drop ncurses-devel BR workaround (#481252)
a43873
a43873
* Mon Jan 19 2009 Jens Petersen <petersen@redhat.com> - 6.10.1-7
a43873
- buildrequire ncurses-devel to fix build of missing editline package needed
a43873
  for ghci line-editing (#478466)
a43873
- move spec templates to cabal2spec package for easy updating
a43873
- provide correct haddock version
a43873
a43873
* Mon Dec  1 2008 Jens Petersen <petersen@redhat.com> - 6.10.1-6
a43873
- update macros.ghc to latest proposed revised packaging guidelines:
a43873
  - use runghc
a43873
  - drop trivial cabal_build and cabal_haddock macros
a43873
  - ghc_register_pkg and ghc_unregister_pkg replace ghc_preinst_script,
a43873
    ghc_postinst_script, ghc_preun_script, and ghc_postun_script
a43873
- library templates prof subpackage requires main library again
a43873
- make cabal2spec work on .cabal files too, and
a43873
  read and check name and version directly from .cabal file
a43873
- ghc-prof does not need to own libraries dirs owned by main package
a43873
a43873
* Tue Nov 25 2008 Jens Petersen <petersen@redhat.com> - 6.10.1-5
a43873
- add cabal2spec and template files for easy cabal hackage packaging
a43873
- simplify script macros: make ghc_preinst_script and ghc_postun_script no-ops
a43873
  and ghc_preun_script only unregister for uninstall
a43873
a43873
* Tue Nov 11 2008 Jens Petersen <petersen@redhat.com> - 6.10.1-4
a43873
- fix broken urls to haddock docs created by gen_contents_index script
a43873
- avoid haddock errors when upgrading by making doc post script posttrans
a43873
a43873
* Wed Nov 05 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.1-3
a43873
- libraries/prologue.txt should not have been ghosted
a43873
a43873
* Tue Nov 04 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.1-2
a43873
- Fix a minor packaging glitch
a43873
a43873
* Tue Nov 04 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.1-1
a43873
- Update to 6.10.1
a43873
a43873
* Thu Oct 23 2008 Jens Petersen <petersen@redhat.com> - 6.10.0.20081007-9
a43873
- remove redundant --haddockdir from cabal_configure
a43873
- actually ghc-pkg no longer seems to create package.conf.old backups
a43873
- include LICENSE in doc
a43873
a43873
* Thu Oct 23 2008 Jens Petersen <petersen@redhat.com> - 6.10.0.20081007-8
a43873
- need to create ghost package.conf.old for ghc-6.10
a43873
a43873
* Thu Oct 23 2008 Jens Petersen <petersen@redhat.com> - 6.10.0.20081007-7
a43873
- use gen_contents_index to re-index haddock
a43873
- add %%pkg_docdir to cabal_configure
a43873
- requires(post) ghc for haddock for doc
a43873
- improve doc file lists
a43873
- no longer need to create ghost package.conf.old
a43873
- remove or rename alternatives files more consistently
a43873
a43873
* Tue Oct 14 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20081007-6
a43873
- Update macros to install html and haddock bits in the right places
a43873
a43873
* Tue Oct 14 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20081007-5
a43873
- Don't use a macro to update the docs for the main doc package
a43873
a43873
* Tue Oct 14 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20081007-4
a43873
- Add ghc_haddock_reindex macro
a43873
- Generate haddock index after installing ghc-doc package
a43873
a43873
* Mon Oct 13 2008 Jens Petersen <petersen@redhat.com> - 6.10.0.20081007-3
a43873
- provide haddock = 2.2.2
a43873
- add selinux file context for unconfined_execmem following darcs package
a43873
- post requires policycoreutils
a43873
a43873
* Sun Oct 12 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20081007-2.fc10
a43873
- Use libedit in preference to readline, for BSD license consistency
a43873
- With haddock bundled now, obsolete standalone versions (but not haddock09)
a43873
- Drop obsolete freeglut-devel, openal-devel, and haddock09 dependencies
a43873
a43873
* Sun Oct 12 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20081007-1.fc10
a43873
- Update to 6.10.1 release candidate 1
a43873
a43873
* Wed Oct  1 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.10.0.20080921-1.fc10
a43873
- Drop unneeded haddock patch
a43873
- Rename hsc2hs to hsc2hs-ghc so the alternatives symlink to it will work
a43873
a43873
* Wed Sep 24 2008 Jens Petersen <petersen@redhat.com> - 6.8.3-5
a43873
- bring back including haddock-generated lib docs, now under docdir/ghc
a43873
- fix macros.ghc filepath (#460304)
a43873
- spec file cleanups:
a43873
- fix the source urls back
a43873
- drop requires chkconfig
a43873
- do not override __spec_install_post
a43873
- setup docs building in build.mk
a43873
- no longer need to remove network/include/Typeable.h
a43873
- install binaries under libdir not libexec
a43873
- remove hsc2hs and runhaskell binaries since they are alternatives
a43873
a43873
* Wed Sep 17 2008 Jens Petersen <petersen@redhat.com> - 6.8.3-4
a43873
- add macros.ghc for new Haskell Packaging Guidelines (#460304)
a43873
a43873
* Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.3-3
a43873
- Add symlinks from _libdir, where ghc looks, to _libexecdir
a43873
- Patch libraries/gen_contents_index to use haddock-0.9
a43873
a43873
* Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.3-2
a43873
- Remove unnecessary dependency on alex
a43873
a43873
* Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.3-1
a43873
- Upgrade to 6.8.3
a43873
- Drop the ghc682-style naming scheme, obsolete those packages
a43873
- Manually strip binaries
a43873
a43873
* Tue Apr  8 2008 Jens Petersen <petersen@redhat.com> - 6.8.2-10
a43873
- another rebuild attempt
a43873
a43873
* Thu Feb 14 2008 Jens Petersen <petersen@redhat.com> - 6.8.2-9
a43873
- remove unrecognized --docdir and --htmldir from configure
a43873
- drop old buildrequires on libX11-devel and libXt-devel
a43873
- rebuild with gcc43
a43873
a43873
* Sun Jan 06 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.2-7
a43873
- More attempts to fix docdir
a43873
a43873
* Sun Jan 06 2008 Bryan O'Sullivan <bos@serpentine.com> - 6.8.2-6
a43873
- Fix docdir
a43873
a43873
* Wed Dec 12 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.2-1
a43873
- Update to 6.8.2
a43873
a43873
* Fri Nov 23 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.1-2
a43873
- Exclude alpha
a43873
a43873
* Thu Nov  8 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.1-2
a43873
- Drop bit-rotted attempts at making package relocatable
a43873
a43873
* Sun Nov  4 2007 Michel Salim <michel.sylvan@gmail.com> - 6.8.1-1
a43873
- Update to 6.8.1
a43873
a43873
* Sat Sep 29 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.0.20070928-2
a43873
- add happy to BuildRequires
a43873
a43873
* Sat Sep 29 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.8.0.20070928-1
a43873
- prepare for GHC 6.8.1 by building a release candidate snapshot
a43873
a43873
* Thu May 10 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.6.1-3
a43873
- install man page for ghc
a43873
a43873
* Thu May 10 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.6.1-2
a43873
- exclude ppc64 for now, due to lack of time to bootstrap
a43873
a43873
* Wed May  9 2007 Bryan O'Sullivan <bos@serpentine.com> - 6.6.1-1
a43873
- update to 6.6.1 release
a43873
a43873
* Mon Jan 22 2007 Jens Petersen <petersen@redhat.com> - 6.6-2
a43873
- remove truncated duplicate Typeable.h header in network package
a43873
  (Bryan O'Sullivan, #222865)
a43873
a43873
* Fri Nov  3 2006 Jens Petersen <petersen@redhat.com> - 6.6-1
a43873
- update to 6.6 release
a43873
- buildrequire haddock >= 0.8
a43873
- fix summary of ghcver package (Michel Salim, #209574)
a43873
a43873
* Thu Sep 28 2006 Jens Petersen <petersen@redhat.com> - 6.4.2-4
a43873
- turn on docs generation again
a43873
a43873
* Mon Sep 25 2006 Jens Petersen <petersen@redhat.com> - 6.4.2-3.fc6
a43873
- ghost package.conf.old (Gérard Milmeister)
a43873
- set unconfined_execmem_exec_t context on executables with ghc rts (#195821)
a43873
- turn off building docs until haddock is back
a43873
a43873
* Sat Apr 29 2006 Jens Petersen <petersen@redhat.com> - 6.4.2-2.fc6
a43873
- buildrequire libXt-devel so that the X11 package and deps get built
a43873
  (Garrett Mitchener, #190201)
a43873
a43873
* Thu Apr 20 2006 Jens Petersen <petersen@redhat.com> - 6.4.2-1.fc6
a43873
- update to 6.4.2 release
a43873
a43873
* Thu Mar  2 2006 Jens Petersen <petersen@redhat.com> - 6.4.1-3.fc5
a43873
- buildrequire libX11-devel instead of xorg-x11-devel (Kevin Fenzi, #181024)
a43873
- make ghc-doc require ghc (Michel Salim, #180449)
a43873
a43873
* Tue Oct 11 2005 Jens Petersen <petersen@redhat.com> - 6.4.1-2.fc5
a43873
- turn on build_doc since haddock is now in Extras
a43873
- no longer specify ghc version to build with (Ville Skyttä, #170176)
a43873
a43873
* Tue Sep 20 2005 Jens Petersen <petersen@redhat.com> - 6.4.1-1.fc5
a43873
- 6.4.1 release
a43873
  - the following patches are now upstream: ghc-6.4-powerpc.patch,
a43873
    rts-GCCompact.h-x86_64.patch, ghc-6.4-dsforeign-x86_64-1097471.patch,
a43873
    ghc-6.4-rts-adjustor-x86_64-1097471.patch
a43873
  - builds with gcc4 so drop %%_with_gcc32
a43873
  - x86_64 build restrictions (no ghci and split objects) no longer apply
a43873
a43873
* Tue May 31 2005 Jens Petersen <petersen@redhat.com>
a43873
- add %%dist to release
a43873
a43873
* Thu May 12 2005 Jens Petersen <petersen@redhat.com> - 6.4-8
a43873
- initial import into Fedora Extras
a43873
a43873
* Thu May 12 2005 Jens Petersen <petersen@haskell.org>
a43873
- add build_prof and build_doc switches for -doc and -prof subpackages
a43873
- add _with_gcc32 switch since ghc-6.4 doesn't build with gcc-4.0
a43873
a43873
* Wed May 11 2005 Jens Petersen <petersen@haskell.org> - 6.4-7
a43873
- make package relocatable (ghc#1084122)
a43873
  - add post install scripts to replace prefix in driver scripts
a43873
- buildrequire libxslt and docbook-style-xsl instead of docbook-utils and flex
a43873
a43873
* Fri May  6 2005 Jens Petersen <petersen@haskell.org> - 6.4-6
a43873
- add ghc-6.4-dsforeign-x86_64-1097471.patch and
a43873
  ghc-6.4-rts-adjustor-x86_64-1097471.patch from trunk to hopefully fix
a43873
  ffi support on x86_64 (Simon Marlow, ghc#1097471)
a43873
- use XMLDocWays instead of SGMLDocWays to build documentation fully
a43873
a43873
* Mon May  2 2005 Jens Petersen <petersen@haskell.org> - 6.4-5
a43873
- add rts-GCCompact.h-x86_64.patch to fix GC issue on x86_64 (Simon Marlow)
a43873
a43873
* Thu Mar 17 2005 Jens Petersen <petersen@haskell.org> - 6.4-4
a43873
- add ghc-6.4-powerpc.patch (Ryan Lortie)
a43873
- disable building interpreter rather than install and delete on x86_64
a43873
a43873
* Wed Mar 16 2005 Jens Petersen <petersen@haskell.org> - 6.4-3
a43873
- make ghc require ghcver of same ver-rel
a43873
- on x86_64 remove ghci for now since it doesn't work and all .o files
a43873
a43873
* Tue Mar 15 2005 Jens Petersen <petersen@haskell.org> - 6.4-2
a43873
- ghc requires ghcver (Amanda Clare)
a43873
a43873
* Sat Mar 12 2005 Jens Petersen <petersen@haskell.org> - 6.4-1
a43873
- 6.4 release
a43873
  - x86_64 build no longer unregisterised
a43873
- use sed instead of perl to tidy filelists
a43873
- buildrequire ghc64 instead of ghc-6.4
a43873
- no epoch for ghc64-prof's ghc64 requirement
a43873
- install docs directly in docdir
a43873
a43873
* Fri Jan 21 2005 Jens Petersen <petersen@haskell.org> - 6.2.2-2
a43873
- add x86_64 port
a43873
  - build unregistered and without splitobjs
a43873
  - specify libdir to configure and install
a43873
- rename ghc-prof to ghcXYZ-prof, which obsoletes ghc-prof
a43873
a43873
* Mon Dec  6 2004 Jens Petersen <petersen@haskell.org> - 6.2.2-1
a43873
- move ghc requires to ghcXYZ
a43873
a43873
* Wed Nov 24 2004 Jens Petersen <petersen@haskell.org> - 6.2.2-0.fdr.1
a43873
- ghc622
a43873
  - provide ghc = %%version
a43873
- require gcc, gmp-devel and readline-devel
a43873
a43873
* Fri Oct 15 2004 Gerard Milmeister <gemi@bluewin.ch> - 6.2.2-0.fdr.1
a43873
- New Version 6.2.2
a43873
a43873
* Mon Mar 22 2004 Gerard Milmeister <gemi@bluewin.ch> - 6.2.1-0.fdr.1
a43873
- New Version 6.2.1
a43873
a43873
* Tue Dec 16 2003 Gerard Milmeister <gemi@bluewin.ch> - 6.2-0.fdr.1
a43873
- New Version 6.2
a43873
a43873
* Tue Dec 16 2003 Gerard Milmeister <gemi@bluewin.ch> - 6.0.1-0.fdr.3
a43873
- A few minor specfile tweaks
a43873
a43873
* Mon Dec 15 2003 Gerard Milmeister <gemi@bluewin.ch> - 6.0.1-0.fdr.2
a43873
- Different file list generation
a43873
a43873
* Mon Oct 20 2003 Gerard Milmeister <gemi@bluewin.ch> - 6.0.1-0.fdr.1
a43873
- First Fedora release
a43873
- Added generated html docs, so that haddock is not needed
a43873
a43873
* Wed Sep 26 2001 Manuel Chakravarty
a43873
- small changes for 5.04
a43873
a43873
* Wed Sep 26 2001 Manuel Chakravarty
a43873
- split documentation off into a separate package
a43873
- adapt to new docbook setup in RH7.1
a43873
a43873
* Mon Apr 16 2001 Manuel Chakravarty
a43873
- revised for 5.00
a43873
- also runs autoconf automagically if no ./configure found
a43873
a43873
* Thu Jun 22 2000 Sven Panne
a43873
- removed explicit usage of hslibs/docs, it belongs to ghc/docs/set
a43873
a43873
* Sun Apr 23 2000 Manuel Chakravarty
a43873
- revised for ghc 4.07; added suggestions from Pixel <pixel@mandrakesoft.com>
a43873
- added profiling package
a43873
a43873
* Tue Dec 7 1999 Manuel Chakravarty
a43873
- version for use from CVS
a43873
a43873
* Thu Sep 16 1999 Manuel Chakravarty
a43873
- modified for GHC 4.04, patchlevel 1 (no more 62 tuple stuff); minimises use
a43873
  of patch files - instead emits a build.mk on-the-fly
a43873
a43873
* Sat Jul 31 1999 Manuel Chakravarty
a43873
- modified for GHC 4.04
a43873
a43873
* Wed Jun 30 1999 Manuel Chakravarty
a43873
- some more improvements from vbzoli
a43873
a43873
* Fri Feb 26 1999 Manuel Chakravarty
a43873
- modified for GHC 4.02
a43873
a43873
* Thu Dec 24 1998 Zoltan Vorosbaranyi
a43873
- added BuildRoot
a43873
- files located in /usr/local/bin, /usr/local/lib moved to /usr/bin, /usr/lib
a43873
a43873
* Tue Jul 28 1998 Manuel Chakravarty
a43873
- original version