Commit Graph

513 Commits

Author SHA1 Message Date
Jens Petersen
feb7f7069e disable ld.so.conf.d/ghc.conf 2023-01-30 20:16:37 +08:00
Jens Petersen
c315c79429 define rts_ver to avoid double listing libHSrts-1.0.2-ghc*.so 2023-01-30 20:16:37 +08:00
Jens Petersen
f92afecbee override global %with_ghc_prof and %with_haddock 2023-01-30 20:16:37 +08:00
Jens Petersen
a15483db6e rebase to 9.2.5 from ghc9.2 2023-01-30 20:16:30 +08:00
Jens Petersen
2cf80b12e6 update to 9.0.2 from ghc9.0 2023-01-30 20:13:58 +08:00
Florian Weimer
fbe8f0f8e3 Port configure script to C99
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2023-01-12 13:23:26 +01:00
Jens Petersen
ba0880ec2a update a few issue urls to gitlab
taken from ghc8.10
2023-01-07 10:37:46 +08:00
Jens Petersen
d85561818a obsoletes ghc8.10 2022-09-28 16:41:51 +08:00
Jens Petersen
682df27912 bump llvm from 11 to 12 2022-09-28 16:40:58 +08:00
Jens Petersen
5dfb2bd4d6 ghc-compiler actually conflicts with ghcMAJOR-compiler-VERSION
add %ghc_major
2022-08-06 21:21:07 +08:00
Jens Petersen
d695d12eb5 conflicts with ghc8.10-compiler-8.10.7 2022-08-06 13:12:21 +08:00
Jens Petersen
4a785f1067 add ghc-filesystem obsoletes to help dnf 2022-08-06 13:11:16 +08:00
Fedora Release Engineering
08f84177dc Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 04:33:03 +00:00
Jens Petersen
aafa21cdc2 rebase to 8.10.7 from ghc8.10; adding filesystem subpkg 2022-06-14 22:28:23 +08:00
Fedora Release Engineering
43ca3c7195 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 04:22:41 +00:00
Miro Hrončok
379a3830ce Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 2022-01-08 11:11:19 +01:00
Jens Petersen
9d34518bd2 move zlib-devel Recommends to cabal-install 2021-09-17 18:50:11 +08:00
Jens Petersen
d010494668 revert back to 8.10.5 with rts patch and without s390x llvm
reduce cpus for post %install scripts for armv7hl
2021-07-23 10:44:05 +08:00
Jens Petersen
2c08099dac turn off llvm for s390x again
https://gitlab.haskell.org/ghc/ghc/-/issues/20120
2021-07-19 19:53:53 +08:00
Jens Petersen
872f1cef00 enable llvm backend for s390x and perf build 2021-07-16 00:01:59 +08:00
Jens Petersen
499775baf0 revert to ghc-8.10.4 (since ghc-8.10.5 fails to rebuild on s390x) 2021-07-15 20:16:05 +08:00
Jens Petersen
f2172368be enable llvm for s390x 2021-07-12 10:26:19 +08:00
Jens Petersen
055d1f9b29 enable quick build for s390x llvm bootstrap 2021-07-12 01:11:07 +08:00
Jens Petersen
cc98c023ef remove the debian x32 patch 2021-07-11 23:24:28 +08:00
Jens Petersen
a1a8a89e7c rebase to 8.10.5 from ghc:8.10 2021-07-11 21:27:39 +08:00
Jens Petersen
bad2a2b5a9 fix build with sphinx4 (#1977317)
use rawstring in conf.py (already in ghc-9)
2021-07-01 00:37:53 +08:00
Jens Petersen
71ccb69965 ghc-compiler now requires ghc-filesystem for html docdirs 2021-05-25 11:44:26 +08:00
Fedora Release Engineering
e1bee79cdc - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 06:44:33 +00:00
Jens Petersen
58f71ccc9b Add riscv64 to ghc_unregisterized_arches (David Abdurachmanov) 2020-12-12 23:42:02 +08:00
Troy Dawson
5eeb12394c Bump release 2020-09-09 15:20:40 +00:00
Troy Dawson
5caca1ad23 Remove all un-needed %if
Remove all %if's that deal with old fedora releases.
2020-08-18 15:12:05 +00:00
Troy Dawson
7ab1af8634 Remove un-needed %if
This %if statement is no longer needed because it addresses unsupported Fedora releases.
This also causes ELN builds to not be the same as Fedora Rawhide builds.

Signed-off-by: Troy Dawson <tdawson@redhat.com>
2020-08-12 20:01:37 +00:00
Fedora Release Engineering
8c86b056b8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 18:40:52 +00:00
Jens Petersen
9fdeb09153 8.8.4 bugfix release 2020-07-16 21:29:42 +08:00
Jens Petersen
bc4cb4c3a0 add fix-build-using-unregisterised-v8.6.patch from Debian 2020-07-15 03:03:49 +08:00
Jens Petersen
a07f9ed8a0 rebase to 8.8.3 from ghc:8.8 2020-07-15 01:53:44 +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
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
Igor Gnatenko
d6663edd84
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:04:35 +01:00
Fedora Release Engineering
bdcdb9aad9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 11:11:05 +00:00
Jens Petersen
22bda2eed9 upstream patch under review in Phabricator to workaround shadow hash issue
https://ghc.haskell.org/trac/ghc/ticket/14381
2018-01-30 00:58:52 +01:00
Jens Petersen
e7dfcf7528 8.2.2 perf build 2018-01-24 18:34:47 +01:00
Jens Petersen
f54dabd8b3 update to 8.2.2: backport from fedora-haskell/ghc
bootstrap build
2018-01-24 00:12:56 +01:00
Jens Petersen
a122fc3e75 python2 and comment out %mandir properly 2017-12-28 17:41:20 +01:00
Jens Petersen
32be9d0079 correct source url 2017-11-22 15:23:53 +05:30
Jens Petersen
428b709769 update source urls to the ones they redirected to 2017-10-27 13:59:40 +09:00
Jens Petersen
7a8b99ca5e mark other subpackages correctly as BSD license 2017-10-26 23:24:17 +09:00
Jens Petersen
98bb662b6d more license fields cleanup
put in explicit BSD's and only use %quote for macros args
2017-10-26 23:17:19 +09:00
Jens Petersen
6b6b783809 fix space %BSDHaskellReport macro for rpm-4.14 2017-10-26 20:21:58 +09:00
Jens Petersen
8ad1d461c8 exclude ghc-boot from ghc-libraries
but ghc-boot-th should be there for TH
2017-10-26 20:19:31 +09:00
Fedora Release Engineering
1564a79df6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 21:09:08 +00:00
Fedora Release Engineering
8bcd1313fb - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 09:30:47 +00:00
Petr Písař
30f7d48eb5 perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-12 14:16:12 +02:00
Jens Petersen
51ebe87923 do not fail id (ABI) check if package uninstalled 2017-02-18 07:15:15 +09:00