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
Jens Petersen
494c76ae55
fix ABI check for uninstalled package
...
(which may be redundant now)
ghc-xhtml is not built for bootstrap, so check was failing
2017-02-18 00:35:18 +09:00
Jens Petersen
c044884574
8.0.2 perf build
2017-02-17 21:55:41 +09:00
Jens Petersen
6bf3b9f3c5
update to ghc-8.0.2
2017-02-17 14:29:06 +09:00
Jens Petersen
9eb04c2900
fix rebuild with latest ghc-rpm-macros; config llc and optc
2017-02-13 19:31:13 +09:00
Fedora Release Engineering
d5dd5b3d98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2017-02-10 10:30:21 +00:00
Igor Gnatenko
052e0f7eef
Rebuild for readline 7.x
...
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:28 +01:00
Jens Petersen
f523fd5da5
quote echo'd %license and %dir macros
2016-10-26 15:27:24 +09:00
Jens Petersen
9ddab99f44
condition removal of libffi-tarballs for rhel7/fedora
2016-10-26 15:26:19 +09:00
Jens Petersen
f12a79f598
BR perl
2016-10-26 12:46:05 +09:00
Jens Petersen
c0222f1be5
some lesser spec file cleanups
...
- drop ghc_without_shared comment block
- drop mention of haskell-platform
- update url to https
- drop dph and feldspar obsoletes
- minor refresh and reformat of description
- obsolete ghc-doc-index when building without_haddock
2016-10-26 11:43:58 +09:00
Jens Petersen
a652054958
backport some trivial changes from github fedora-haskell/ghc
...
ghclibdocdir -> ghc_html_libraries_dir
ghcdocbasedir -> ghc_html_dir
2016-10-07 18:25:20 +09:00
Jens Petersen
025bb04cd1
use %license
2016-09-28 18:17:28 +09:00
Jens Petersen
3374f6364c
update subpackaging for latest ghc-rpm-macros
2016-09-05 17:37:07 +09:00
Jens Petersen
d8e33b5510
the ABI hash checking requires all of ghc to be installed
2016-07-14 16:35:20 +09:00
Jens Petersen
d25903fbb8
more ABI hash fix/improvements
2016-07-14 14:55:11 +09:00
Jens Petersen
3687ae4b04
ABI check tweaks and fix
2016-07-13 18:58:26 +09:00
Jens Petersen
4874a3b925
add an ABI change check to prevent unexpected hash changes
2016-07-13 17:18:25 +09:00
Jens Petersen
7748407e4e
obsolete haskell98 and haskell2010
2016-07-12 14:45:27 +09:00
Jens Petersen
a88a864e2e
perf build
2016-06-03 16:09:48 +09:00
Jens Petersen
96eae76cd8
add missing changelog for 7.10.3-49!
2016-06-03 16:09:01 +09:00
Jens Petersen
f50ec379b6
update to 7.10.3 from petersen/ghc-7.10.3 copr
...
- 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-06-03 14:29:26 +09:00
Jens Petersen
9f9aa45539
do not package ghc-split on MIPS ( #1294873 )
2016-03-08 01:24:41 +09:00
Jens Petersen
9451e9f663
drop the last use of %ghc_arches_with_ghci
2016-03-07 22:38:31 +09:00
Dennis Gilmore
e48880c434
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2016-02-03 21:21:56 +00:00
Jens Petersen
c80b9281a9
rebuild
...
for unstable 64bit array ABI hash
2015-06-16 18:12:59 +09:00
Jens Petersen
31153d40ac
use ld.gold and re-enable dynamic linking of ghc programs
...
Reverting "revert ld.gold to armv7 only; static ghc progs for aarch64"
This reverts commit bc51500a32
.
2015-06-11 22:56:02 +09:00
Jens Petersen
bc51500a32
revert ld.gold to armv7 only; static ghc progs for aarch64
...
- ld.gold patch didn't fix subprocess output problem
aarch64 ghci crashes with both gold and bfd but TH seems to work
2015-04-28 13:02:15 +09:00
Jens Petersen
8b0348fcf1
use "make -j2" for s390 ( #1212374 )
2015-04-24 14:11:15 +09:00
Jens Petersen
6bb2991c51
use ld.gold for aarch64 and "make -j3" for s390
2015-04-22 19:04:55 +09:00
Jens Petersen
4a07cbb90c
turn on SMP and ghci for aarch64
...
patch by Erik de Castro Lopo from
https://ghc.haskell.org/trac/ghc/ticket/9673
2015-04-10 22:33:17 +05:30
Jens Petersen
682be3ab66
aarch64 production build
2015-03-30 23:19:15 +09:00
Jens Petersen
23bd910b3d
bootstrap aarch64 again for ghc-deps.sh fixes
2015-03-23 18:56:46 +09:00
Jens Petersen
b86c4e0703
aarch64 production build; use -j16 again on intel archs
2015-03-23 12:52:09 +09:00
Jens Petersen
6441298c76
disable ld hardening also for armv7 and secondary 64bit archs
2015-03-20 17:57:55 +09:00
Jens Petersen
915ee24569
aarch64 bootstrap without dyn ghc(i) and llvm, disable ld hardening on 64bit
...
llvm needs 3.6
2015-03-20 09:12:59 +09:00
Jens Petersen
42fee54b90
setup make -j more carefully, add %build_minimum_smp
...
minimum -j12 for intel, can be overriden with %build_minimum_smp
2015-03-01 20:04:36 +09:00
Jens Petersen
25a760a22f
use llvm for aarch64 and fix build.mk BuildFlavour setup
2015-03-01 19:58:47 +09:00
Jens Petersen
b42ca29adc
override "make %{?_smp_mflags}" in mock/koji if not -j16
...
- in koji HOSTNAME is ""
- from testing in koji: -j8 was too small and -j12 seemed big enough
2015-02-15 21:59:29 +09:00