Commit Graph

424 Commits

Author SHA1 Message Date
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
Jens Petersen
3118c56ef3 better _smp_mflags echo output 2015-02-15 01:15:38 +09:00
Jens Petersen
932a5964b8 only echo _smp_mflags if it is defined 2015-02-15 01:11:15 +09:00
Jens Petersen
f8a0b1d0a6 try "make -j16" on Intel arches to keep ABI hashes same as -40 2015-02-15 01:06:21 +09:00
Jens Petersen
dfca0e839a production build; use %ghc_bootstrapping to control bootstrap setup 2015-02-09 18:16:47 +01:00
Jens Petersen
37dd51b1af update the arm64 patch for 7.8.4 2015-02-07 18:25:23 +01:00
Jens Petersen
43f536af8e bootstrap for secondary arches, with bindir/ghci 2015-02-07 16:55:30 +01:00
Jens Petersen
1cb2f64c61 drop unversioned htmldir patch
remove two old patches
2015-01-18 22:55:40 +09:00
Jens Petersen
3cca06965a production build 2015-01-18 15:58:37 +09:00
Jens Petersen
b032d481b4 use ld.gold on ARMv7
see https://ghc.haskell.org/trac/ghc/ticket/8976
for workaround patches posted upstream by nomeata

remove some old leftover patches (fedpkg unused-patches)
2015-01-17 23:13:52 +09:00
Jens Petersen
98bb637a26 Revert back to ghc-7.8 and update to 7.8.4
version bumps for base and Cabal

This reverts commit 083d826dd6.

Conflicts:
	ghc.spec
2015-01-17 16:55:56 +09:00
Jens Petersen
10d9a860f8 update changelog date 2014-11-18 18:28:18 +09:00
Jens Petersen
47fc293b36 backport more changes from 7.8.3 spec to 7.6.3 spec
- 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 "quick" build when bootstrapping
- setup LDFLAGS
2014-11-18 12:44:57 +09:00
Jens Petersen
44c2d294cb require and use llvm34 instead of llvm-3.5 for arm 2014-11-17 17:53:19 +09:00
Jens Petersen
083d826dd6 revert to 7.6.3-26 (current f21) 2014-11-17 12:24:08 +09:00
Jens Petersen
cfae44c249 update patches for armv7 for ghc-7.8
- LlvmCodeGen-llvm-version-warning patch no needed
  since 3.4 supported now, but rawhide is now on 3.5!
- update no NEON patch
2014-11-05 12:28:37 +09:00
Jens Petersen
138479e435 - undefine ghc_without_shared if it is defined for now
- ghc-ppc64el.patch is in 7.8.3
- use quick/quick-llvm when building
- set LDFLAGS
- probably no bindir/ghci now on archs without ghci
2014-10-20 11:43:44 +09:00
Jens Petersen
3f871b8dab add changelog entry for bash-ism fix 2014-09-29 13:39:30 +09:00
Jens Petersen
4ebfefdb13 use rpm internal dependency generator with ghc.attr on F22
requires ghc-rpm-macros ghc.attr - currently only in rawhide
2014-09-05 16:15:21 +09:00
Jens Petersen
b5e06b43ba change Cabal install bindir warning; drop use of ghc_without_shared 2014-08-29 17:01:38 +09:00
Peter Robinson
994a85e95f - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 14:26:57 +00:00
Jens Petersen
adee73e6ef major update to 7.8.3: bootstrap build 2014-08-03 23:54:24 +09:00
Jens Petersen
622b604627 disable NEON on arm; only unversion docdir on f21+; hide llvm-3.4 warnings on arm 2014-07-25 20:23:17 +09:00
Jens Petersen
6979350950 move library versions to after patches for easier reading of top of ghc.spec 2014-06-09 14:46:34 +09:00
Jens Petersen
06bebb578d add aarch64; silence glibc _BSD_SOURCE warnings on unregisterized archs 2014-06-06 13:26:12 +09:00
Jens Petersen
939281139a bump release 2014-05-30 21:44:41 +09:00
Jens Petersen
de62eeb865 add ppc64le support with patch from Debian (Fedora bootstrap by jcapik)
add *_ver macros variables for library versions
2014-05-30 12:11:35 +09:00
Jens Petersen
1086f85751 do not link executables with executable stack flag set (#973512)
- upstream patch by Edward Z Yang
- http://ghc.haskell.org/trac/ghc/ticket/703
- note this changes the ABI hash of the ghc library
2014-01-30 14:02:36 +09:00
Jens Petersen
f22b491c67 comment on a couple of patches upstream 2014-01-29 13:01:43 +09:00
Jens Petersen
79d69f534e fix segfault on i686 when using ffi double-mapping for selinux (#907515)
- originally noticed with gtk2hs
- see http://hackage.haskell.org/trac/ghc/ticket/7629
- thanks Garrett Mitchener for patch committed upstream
2014-01-29 11:26:21 +09:00
Jens Petersen
70f2b5d09d document RTS debugging build option 2013-12-22 21:56:20 +09:00
Jens Petersen
6ee0cad912 enable debuginfo
production build
2013-10-30 00:21:19 +09:00
Jens Petersen
bf23eb900b bootstrap build to fix hangs on 64bit bigendian
- rts hang patch from 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
2013-10-29 14:59:08 +09:00
Jens Petersen
ddf9e36cdc follow http://fedoraproject.org/wiki/Packaging:CronFiles
thanks Jóhann Guðmundsson
2013-07-29 11:35:56 +09:00
Jens Petersen
0d40f8dbbf silence warnings about unsupported llvm version (> 3.1) on ARM
+You are using a new version of LLVM that hasn't been tested yet!
+We will try though...

(ghc-7.6 only officially supports 2.8 <= llvm <= 3.1)
2013-07-24 18:08:02 +09:00
Jens Petersen
b019f63051 Revert "temporary bootstrap build for ARM with llvm-3.3 fix"
This reverts commit a044dc3f8a.
2013-07-24 14:18:09 +09:00
Jens Petersen
a044dc3f8a temporary bootstrap build for ARM with llvm-3.3 fix 2013-07-24 11:20:37 +09:00
Jens Petersen
0752284aa9 Revert "turn off executable stack flag in executables (#973512)"
While it seems to fix the flag for intermediate object files
final executables still seems to have the flag set somehow.
Further the patch apparently changed the ABI of the ghc library.
2013-07-11 17:30:54 +09:00
Jens Petersen
4e3e8f4b7c turn off executable stack flag in executables (#973512)
- reported by Dhiru Kholia
- upstream patch by Edward Zhang:
  see http://ghc.haskell.org/trac/ghc/ticket/703 and
  08a38628f2
- this affects both ghc 7.4 and 7.6
2013-07-10 11:07:23 +09:00
Jens Petersen
3c760a9a18 fix compilation with llvm-3.3 2013-06-25 16:56:39 +09:00
Jens Petersen
7b74369001 production build 2013-06-20 17:41:31 +09:00
Jens Petersen
d5b07bcada bump release to integer 12 2013-06-20 14:21:18 +09:00
Jens Petersen
025408ab14 reinstate and refresh Cabal-fix-dynamic-exec-for-TH.patch 2013-06-12 11:43:49 +09:00
Jens Petersen
2b100fabe7 production build with BuildFlavour perf; obsolete process-leksah 2013-06-06 11:58:43 +09:00
Jens Petersen
67bcee1c1c only require ghc-doc-index if we package it 2013-04-23 19:52:22 +09:00
Jens Petersen
9340b05892 update to new stable major version 7.6.3
- bootstrap build
- use new ghc-rpm-macros-extra
- no longer filter type-level package from haddock index
2013-04-23 18:33:35 +09:00
Jens Petersen
83540ee652 move ghclibdir ownership from compiler to base lib for runtime (#907671) 2013-02-05 13:04:03 +09:00
Jens Petersen
7c4664cfd4 rebuild 2013-01-18 18:53:01 +09:00
Jens Petersen
be3e3d6503 fix permissions of ghc-doc-index and only run when root
cronjob no longer checks /etc/sysconfig/ghc-doc-index
2012-11-21 16:55:59 +09:00
Jens Petersen
b94bbde71c turn off bootstrapping for proper bootstrapped build 2012-11-17 21:27:53 +09:00
Jens Petersen
d429c0f8f5 install ghc-doc-index in bindir 2012-11-17 20:38:54 +09:00
Jens Petersen
f3e1561131 "bogus date in %changelog: Tue Dec 12 2007" 2012-11-17 20:35:05 +09:00