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