Commit Graph

506 Commits

Author SHA1 Message Date
Jens Petersen
915a022b3c remove redundant unused ghc-configure-fix-sphinx-version-check.patch 2020-07-14 19:54:43 +08:00
Jens Petersen
db12ef1861 use python3-sphinx also for rhel8 2020-07-06 15:38:46 +08:00
Jens Petersen
8abb3a79a1 drop "recommends: ghc-base-doc" comment
warning: Macro expanded in comment on line 236: %{base_ver}-%{release}
2020-04-09 19:23:49 +08:00
Jens Petersen
0be02c427b fix gen_contents_index also when no docs (#1813548)
- cronjob used to switch to /usr/share/doc/ghc/html/libraries
- since docs now subpackaged, need to check for no docs

- we could also recommend ghc-base-doc
2020-04-09 19:03:57 +08:00
Jens Petersen
8d4b4ec6e9 rename dwarf_unwind to dwarf and use dwarf flavour 2020-03-11 01:00:50 +08:00
Jens Petersen
a82189be91 add bcond for dwarf-unwind debuginfo 2020-03-10 20:07:34 +08:00
Jens Petersen
3a08236cd2 rebuild against ghc-rpm-macros fixed for subpackage prof deps
testcase: ghc-prof(...) was missing from generated Requires
2020-02-10 19:30:18 +08:00
Fedora Release Engineering
8bb182a80d - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 20:07:50 +00:00
Jens Petersen
6dbb99b200 try %bcond haddock for full build
since macros.ghc-os only available in full builtroot
2019-07-31 16:54:40 +00:00
Jens Petersen
1b033f2096 order previous changelog too 2019-07-31 10:21:42 +00:00
Jens Petersen
8619be5910 reset changelog date 2019-07-31 10:17:47 +00:00
Jens Petersen
7ef199a259 update changelog with latest patches 2019-07-31 10:11:29 +00:00
Jens Petersen
826e5b4b12 use Debian fix-build-using-unregisterized-v8.4.patch
https://gitlab.haskell.org/ghc/ghc/issues/15913

- remove ghc wrapper script hack!
2019-07-31 10:11:29 +00:00
Jens Petersen
6250e0ee75 add some patches from Debian (thanks!)
https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/ghc/debian/patches

- rename 35a897782b6b0a252da7fdcf4921198ad4e1d96c.patch -> PprC-Add-support-for-adjacent-floats.patch
- add_-latomic_to_ghc-prim.patch
- e175aaf6918bb2b497b83618dc4c270a0d231a1c.patch (rts osReserveHeapMemory block alignment)
2019-07-31 10:11:29 +00:00
Jens Petersen
bbd41d24d2 fix initgroups issue in process library
https://github.com/haskell/process/pull/148
2019-07-31 10:11:29 +00:00
Jens Petersen
5ee2271b2b update to ghc-8.6.5 (backported from ghc:8.6) 2019-07-31 10:11:29 +00:00
Jens Petersen
63a3f34ef2 haddock: add --hoogle & --quickjump 2019-07-31 10:11:29 +00:00
Jens Petersen
850e71d743 lock manual bcond to with_haddock
We should probably just use haddock until Hadrian...
2019-07-31 10:11:29 +00:00
Jens Petersen
48dd6aa4cd major rework of ghc packaging: particularly prof and doc subpackages
- bump release to 99
- drop ghc-doc-index script and cronjob
- lock compiler to ghc-base-devel verrel
- switch from %without_prof to %with_ghc_prof
- split docs bcond to %with_haddock and %with_manual
- disable debuginfo for quickbuild
- BR ghc-rpm-macros 2.0 and make
- allow python2-sphinx for current fedora releases
- lighten ghc: only suggest ghc-doc, ghc-doc-index, ghc-manual, ghc-prof
- drop support for rhel6 builds
- use %ghc_set_gcc_flags
- remove alternatives
- filetriggers for haddock index updating

- in future we might separate static devel subpackages too (if cabal
  can handle vanilla or dyn only)
2019-07-31 10:11:29 +00:00
Fedora Release Engineering
79d5111c4f - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 01:58:32 +00:00
Jens Petersen
0d665079cd add transfiletriggers to replace individual post/postun scriptlets 2019-06-28 04:15:51 +00:00
Jens Petersen
05e47a1520 fix 32bit adjacent floats on 64bit unregisterized
upstream patch for https://ghc.haskell.org/trac/ghc/ticket/15853
2019-03-04 14:04:48 +08:00
Jens Petersen
81d7c8d8c4 leave stripping to rpm 2019-02-16 07:50:45 +08:00
Jens Petersen
cf89f14c20 add upstream fix for sphinx-1.8 2019-02-16 01:30:47 +08:00
Jens Petersen
40733c85d7 update to 8.4 (rebase to 8.4 branch) 2019-02-16 00:30:41 +08:00
Jens Petersen
0e2215916b backport tweaks from ghc:8.4
- add ghc_unregisterized_arches
- Recommends zlib-devel
- epel6 tweaks
2019-02-08 10:29:42 +08:00
Fedora Release Engineering
bbb03aa71e - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 21:03:15 +00:00
Zbigniew Jędrzejewski-Szmek
93ee9c0485 Use C.UTF-8 locale 2018-11-18 23:52:46 +01:00
Jens Petersen
4ada0e9763 Recommends for ghc-manual and ghc-doc-cron 2018-10-22 17:56:17 +09:00
Jens Petersen
c2ba5d5fdd update ghc wiki Platforms url 2018-10-17 18:22:46 +09:00
Jens Petersen
aba55d0da9 add missing ghc-warnings.mk-CC-Wall.patch 2018-10-17 12:33:07 +09:00
Jens Petersen
65eec31b69 backport build configs from 8.4 module; extend quickbuild to perf_build
- backport quickbuild config from 8.4 module
- disable -Wall on s390x like in 8.4 module to silence warning flood
  and simplify setting of CFLAGS
- setup build.mk in setup section, taken from copr and module
- enable buildpath-abi-stability.patch (from Debian)
2018-10-17 12:07:29 +09:00
Peter Robinson
20edd0d34e Update alternatives dependencies 2018-10-16 12:33:21 +01:00
Miro Hrončok
381b73e8f4 Use python3-sphinx to build the docs 2018-08-06 21:53:40 +02:00
Jens Petersen
c07f27990b (aarch64/s390) remove -Wall and -Werror=format-security separately 2018-07-24 19:14:11 +09:00
Fedora Release Engineering
ccd70e89cb - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 01:28:32 +00:00
Jens Petersen
11936da42f ghc manpage is now built 2018-07-09 12:29:54 +02:00
Jens Petersen
eccc41df53 improve testsuite comment 2018-07-08 07:50:52 +02:00
Jens Petersen
849bd207fc add manpages from Debian 2018-07-08 07:50:26 +02:00
Jens Petersen
ee61410c16 use uppercase YES and NO in build.mk
lowercase is not supported
2018-07-01 20:39:51 +09:00
Jens Petersen
5219736e17 disable testsuite, bootstrap and build fixes 2018-06-01 16:05:10 +09:00
Jens Petersen
f77e76b10e add ghc_llvm_archs 2018-05-30 16:45:25 +09:00
Jens Petersen
e8d82ec703 add changelogs for docs build changes 2018-05-29 00:03:28 +09:00
Jens Petersen
7f6a73b913 merge manual and haddock bcond to docs
disabling haddock seems to disable manual anyway
https://ghc.haskell.org/trac/ghc/ticket/15190
2018-05-28 20:37:39 +09:00
Jens Petersen
52da5da5ad try fixing sphinx-build --version detection in configure
https://github.com/ghc/ghc/pull/143
2018-05-28 13:29:30 +09:00
Jens Petersen
8a638fc974 extend and simplify bcond for build configuration
- move manuals to ghc-manual.noarch
- rename ghc-doc-index to ghc-doc-cron.noarch
- drop bootstrap builds and do ABI hash checks unless ghc version changed
- no longer need autotools on aarch64
2018-05-28 11:58:23 +09:00
Jens Petersen
d42cad8307 drop unstable url from D4159.patch and add D4159 url 2018-05-23 11:18:05 +09:00
Jens Petersen
4e4a2d2f6b silence the ghc-pkg abi-depends warnings when installing packages
forward-port from f28 branch
2018-05-03 00:52:51 +09:00
Jens Petersen
330a973466 move manuals to ghc-doc package again
after a long break...
2018-05-02 22:41:06 +09:00
Jens Petersen
7552d58a21 ghost ghc-doc-index local state and more libraries index files 2018-05-02 22:36:35 +09:00