Commit Graph

256 Commits

Author SHA1 Message Date
Jens Petersen
b3c9b98bb6 merge prof subpackages into the devel subpackages with ghc-rpm-macros-0.13 2011-05-16 11:39:27 +09:00
Jens Petersen
c5a50faad5 specify /usr/bin/gcc to help bootstrapping; drop redundant posttrans scriplet 2011-05-11 11:46:06 +09:00
Jens Petersen
b03062c00b be explicit about release for devel, prof; add explicit ghc requires for ghc-*-devel 2011-05-09 00:17:42 +09:00
Jiri Skala
62c28163cc fixes path to gcc on ppc64 arch 2011-05-05 10:04:28 +02:00
Jens Petersen
03f30c40ef replace hscolour bcond by without_hscolour like in ghc-rpm-macros 2011-05-02 20:34:56 +09:00
Jens Petersen
109aae23e7 apply the powerpc linker patch also to ppc 2011-04-27 16:33:18 +09:00
Jens Petersen
98a946c2f0 add upstream ghc-powerpc-linker-mmap.patch for ppc64 (Jiri Skala) 2011-04-26 17:40:21 +09:00
Jens Petersen
f103ae83ed ppc64 bootstrapping by Jiri Skala 2011-04-21 18:24:42 +09:00
Jens Petersen
23ba9b32ed rebuild against ghc-rpm-macros-0.11.14 to provide ghc-*-doc 2011-04-01 16:57:19 +09:00
Jens Petersen
5ca78665ef provides ghc-doc again; ghc-prof requires ghc-devel; ghc-devel requires ghc 2011-04-01 13:34:49 +09:00
Jens Petersen
1ef5ad0bee remove trailing backquote after %{defined ghclibdir} 2011-03-30 15:17:48 +09:00
Jens Petersen
37c681b884 dont strip static libs (it breaks ghci-7.0.2 loading libHSghc.a); no longer provide ghc-doc nor obsolete haddock 2011-03-30 15:11:54 +09:00
Jens Petersen
573d38cfd0 bring back LICENSE files to library subpackages and drop ghc_reindex_haddock 2011-03-29 11:51:29 +09:00
Jens Petersen
00673ae358 update ghc-rpm-macros BR to 0.11.12 2011-03-25 14:37:33 +09:00
Jens Petersen
f6e34f287d bump for rebuild against 7.0.2 2011-03-10 17:22:36 +09:00
Jens Petersen
128f5fdf44 need -devel in ghc_pkg_obsoletes 2011-03-10 15:28:38 +09:00
Jens Petersen
dec209180b disable broken testsuite 2011-03-10 13:34:21 +09:00
Jens Petersen
fe4ed8a6bc update to 7.0.2 release; move bin-package-db into ghc-ghc 2011-03-10 13:25:14 +09:00
Fabio M. Di Nitto
552a01acd7 Fix changelog version
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2011-02-23 14:49:11 +01:00
Fabio M. Di Nitto
6d562261fb enable ghc build on sparcv9
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2011-02-23 14:46:08 +01:00
Jens Petersen
05d6abb239 without_shared renamed to ghc_without_shared 2011-02-13 22:59:34 +10:00
Jens Petersen
282277c016 back to previous state
This reverts commit f78d369c4a.
2011-02-11 01:52:41 +10:00
Jens Petersen
f78d369c4a back to the "bootstrapping" rebuild for ppc with minor bump 2011-02-11 00:57:11 +10:00
Jens Petersen
12c3f9e897 rebuild 2011-02-10 18:16:12 +10:00
Jens Petersen
3fbd3f5085 disable testsuite for a faster build 2011-02-10 16:42:26 +10:00
Jens Petersen
d5612c1ed5 handle HSffi.o for without_shared 2011-02-10 16:15:17 +10:00
Jens Petersen
e3544f2e61 disable system libffi and ghc-*-devel BRs for secondary archs 2011-02-10 14:10:31 +10:00
Jens Petersen
b1d29b1633 more non shared filelist fixes 2011-02-10 12:58:13 +10:00
Jens Petersen
f2a0998a3b fix non shared build for ppc, etc 2011-02-10 11:41:10 +10:00
Dennis Gilmore
13585e85ad - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 18:52:26 -06:00
Jens Petersen
aa31ff096e tweak shared lib comment for x86 2011-01-31 15:17:56 +10:00
Jens Petersen
8b7e421999 include LICENSE files in the shared lib subpackages 2011-01-29 20:51:59 +10:00
Jens Petersen
da7d52601e the ghc API lib pkgname is ghc not ghc-ghc 2011-01-22 21:49:39 +10:00
Jens Petersen
95d33c27f0 need to generate filelist for ghc-ghc 2011-01-22 21:02:26 +10:00
Jens Petersen
1ed4374f25 comment out the new inplace runghc test in %check since it doesn't work 2011-01-22 20:09:14 +10:00
Jens Petersen
b3347be799 condition ghc_binlib_packages on new ghclibdir instead of ghc_version 2011-01-22 18:10:46 +10:00
Jens Petersen
c08038f454 fix the Cabal %patch line 2011-01-22 15:30:08 +10:00
Jens Petersen
48b6b02543 add cabal configure --enable-executable-dynamic and exclude ghc lib from lib metapackages
- patch Cabal to add configure option --enable-executable-dynamic
- exclude huge ghc API library from devel and prof metapackages
- add a runghc test to check
2011-01-22 15:16:08 +10:00
Jens Petersen
381ac69fec fix haddock and manual filelists for no doc or no manual builds
- drop build.mk assignment indents
2011-01-13 10:29:27 +09:00
Jens Petersen
8e04f60166 add BRs for various subpackaged ghc libraries needed to build ghc 2011-01-13 08:05:28 +09:00
Jens Petersen
4696271717 fix %ghc_binlib_package's appearing in srpm description 2011-01-06 17:01:41 +09:00
Jens Petersen
cc31fc0a97 fix an old changelog typo of obsolete 2011-01-06 15:43:34 +09:00
Jens Petersen
199162c70a test ghc_packages_list in requires for mock 2011-01-05 21:48:11 +09:00
Jens Petersen
5f0d8db6a1 changelog tweaks 2011-01-05 21:38:20 +09:00
Jens Petersen
46cf23cbed 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
- prof now a meta-package for backward compatibility
- add devel meta-subpackage to easily install all ghc libraries
- store doc cronjob package cache file under /var (#664850)
- drop old extralibs bcond
- no longer need to define or clean buildroot
- ghc base package now requires ghc-base-devel
- drop ghc-time obsoletes
2011-01-05 21:34:43 +09:00
Jens Petersen
04dec3dc5e move package cache file for doc cronjob to /var (#664850)
Also cache long listing to notice library rebuilds.
2010-12-30 11:06:23 +09:00
Jens Petersen
379f54b3ed require libffi-devel 2010-11-24 00:41:15 +10:00
Jens Petersen
e9e73e9ffc drop -o from ghc_binlib_package 2010-11-23 17:41:14 +10:00
Jens Petersen
7df9981038 update to 7.0.1 and turn system libffi back on 2010-11-16 17:41:09 +10:00
Jens Petersen
6cb68b9d15 use libffi bcond for the ghc-tarballs removal too 2010-11-08 11:12:12 +10:00
Jens Petersen
256ed2a656 need BR libffi-devel anyway 2010-11-08 10:57:01 +10:00
Jens Petersen
c8ba9dfcd6 disable the libffi changes since they broke libHSffi*.so 2010-11-08 10:40:15 +10:00
Jens Petersen
a426f6ec13 prefix cronjob path with buildroot 2010-11-05 19:00:40 +10:00
Jens Petersen
8b84ee0dba add bcond for system libffi and fix system libffi build
- rename ghc-use-system-libffi-debian.patch to ghc-use-system-libffi.patch.
- add ffi to SRC_HC_OPTS
- use pkgconfig-depends in compiler/ghc.cabal for libffi
2010-11-05 18:28:54 +10:00
Jens Petersen
5311ca59f4 use system libffi with ghc-use-system-libffi-debian.patch 2010-11-05 11:33:43 +10:00
Jens Petersen
8b1ef566da fix the name of the --batch patch 2010-11-04 18:50:53 +10:00
Jens Petersen
e89f5f0022 add a cronjob for haddock indexing and disable gen_contents_index by default
gen_contents_index is run with --batch by cronjob, otherwise does nothing.
This avoids overhead of running of re-indexing each time
a ghc-*-devel package is installed, updated, or removed.
2010-11-04 18:41:32 +10:00
Jens Petersen
a7486154e6 skip huge type-level docs from haddock re-indexing (#649228) 2010-11-04 16:48:25 +10:00
Jens Petersen
9ce1080bad try again to fix smp build to no more than 4 cpus 2010-10-01 16:21:16 +10:00
Jens Petersen
265cc3642b export RPM_BUILD_NCPUS to make 2010-10-01 14:49:38 +10:00
Jens Petersen
bb76f118e1 4 cpu build broke: make max smp 2 cpus 2010-10-01 14:33:11 +10:00
Jens Petersen
9a030f8971 smp build with max 4 cpus 2010-10-01 13:57:32 +10:00
Jens Petersen
9648738001 try smp build again 2010-09-30 19:22:52 +10:00
Jens Petersen
4c524f7b2a drop happy buildrequires 2010-09-30 19:18:00 +10:00
Jens Petersen
06db986bc2 move gtk2hs obsoletes to ghc-glib and ghc-gtk 2010-09-30 18:21:06 +10:00
Jens Petersen
78073395b5 obsolete old gtk2hs packages for smooth upgrades 2010-07-30 12:15:23 +10:00
Jens Petersen
355e48379d obsolete ghc-ghc-doc (ghc-rpm-macros-0.8.0) 2010-07-15 15:35:32 +00:00
Jens Petersen
9956691973 - merge ghc-doc into base package
- note that ghc-6.12.3 is part of haskell-platform-2010.2.0.0
2010-07-15 13:48:00 +00:00
Jens Petersen
24005bb6f4 obsolete ghc-time to smooth f13 upgrades 2010-07-15 09:16:11 +00:00
Jens Petersen
dc71f25047 - drop the broken summary and description args to the ghc-ghc package and
use ghc-rpm-macros-0.6.1
2010-06-24 03:16:12 +00:00
Jens Petersen
aee0ea8fc1 strip all dynlinked files not just shared objects (ghc-rpm-macros-0.5.9) 2010-06-23 10:30:14 +00:00
Jens Petersen
d3940a51d0 remove erroneous -o pkg merge option to ghc-ghc 2010-06-20 23:19:09 +00:00
Jens Petersen
2c2e6bed6c fix description of ghc-ghc 2010-06-20 23:13:58 +00:00
Jens Petersen
b6bfcab66d - 6.12.3 release
- build with hscolour
- use ghc-rpm-macro-0.5.8 for ghc_strip_shared macro
2010-06-20 13:01:02 +00:00
Jens Petersen
9d4f5cb613 - (6.12.3 rc1)
- ghost package.cache
- fix description and summary of ghc internal library (John Obbele)
2010-05-28 06:40:59 +00:00
Jens Petersen
d06a8f2815 - drop ghc-utf8-string obsoletes since it is no longer provided
- run testsuite fast
2010-05-25 10:20:06 +00:00
Jens Petersen
16ee9ca997 - BR python for testsuite
- note break of haskell-platform-2010.1.0.0
- forward port following fixes from F-13 branch:
- drop old ghc682, ghc681, haddock09 obsoletes
- drop haddock_version and no longer provide haddock explicitly
- add obsoletes for ghc-utf8-string (#571478, reported by Jochen Schmitt)
- update ghc-rpm-macros BR to 0.5.6 for ghc_pkg_recache
2010-04-23 06:01:01 +00:00
Jens Petersen
be9079ab14 - update to 6.12.2
- add testsuite with bcond and run it in check section
2010-04-23 04:09:50 +00:00
Jens Petersen
a6e9993668 clean away release reset comment and version reset too 2010-01-11 23:16:08 +00:00
Jens Petersen
89aaac8f35 remove the ghc_binlib_package for haskeline and terminfo too! 2010-01-11 22:55:52 +00:00
Jens Petersen
5f19e51ca3 - drop ghc-6.12.1-no-filter-libs.patch
- filter ghc lib files from ghc-prof
2010-01-11 15:41:30 +00:00
Jens Petersen
7b2f6a749e try dropping all haskeline, mtl, and terminfo to build 2010-01-11 14:28:48 +00:00
Jens Petersen
205495df99 ghc-mtl package was added to fedora so filtering it again 2010-01-11 12:46:27 +00:00
Jens Petersen
b87c7b1c5d ghc-rpm-macros-0.5.4 fixes wrong version requires between lib subpackages 2010-01-11 07:42:48 +00:00
Jens Petersen
5ada020f4e changelog tweak to say subpackages 2010-01-11 04:18:31 +00:00
Jens Petersen
0fbb24d072 ghc-rpm-macros-0.5.2 fixes broken pkg_name requires for lib packages 2010-01-11 04:16:46 +00:00
Jens Petersen
b21eb153ec - 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)
- always set GhcLibWays (Lorenzo Villani)
- use ghcdocbasedir to revert html doc path to upstream's html/ for
    consistency
2010-01-10 16:03:50 +00:00
Jens Petersen
3b5aa06c88 add p_dyn (dynamic profiling libs) for binlib packages 2009-12-22 09:35:43 +00:00
Jens Petersen
b277f721ac pre became 6.12.1 final 2009-12-16 08:11:43 +00:00
Jens Petersen
0f975a5111 require ghc-rpm-macros-0.3.1 and use ghc_version_override 2009-12-16 07:58:28 +00:00
Jens Petersen
bedcaee130 - add ghc-6.12.1-gen_contents_index-haddock-path.patch to adjust haddock
path since we removed html/ from libraries path
2009-12-12 11:34:17 +00:00
Jens Petersen
feffa93079 - 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 10:47:38 +00:00
Jens Petersen
60aa61e3bc - 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-12 03:59:37 +00:00
Jens Petersen
b467c90b76 disable smp build for now: broken for 8 cpus at least 2009-12-11 19:17:18 +00:00
Jens Petersen
f673bd89fa - 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 "make install-short")
- 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 18:40:16 +00:00
Jens Petersen
381aca137f manpage is back 2009-11-23 13:40:42 +00:00
Jens Petersen
26fcbdc18a ok I guess BR ncurses-devel should stay 2009-11-23 13:02:08 +00:00
Jens Petersen
4b82adefe4 - update to 6.12.1 rc2
- build shared libs, woohoo! and package in standalone libs subpackage
- add bcond for manual and extralibs
- reenable ppc secondary arch
- don't provide ghc-haddock-*
- no longer need BR ncurses-devel or post policycoreutils requires
- 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 12:43:54 +00:00
Bryan O'Sullivan
b3f5839a60 Comprehensive attempts at packaging fixes 2009-11-13 07:06:41 +00:00
Bryan O'Sullivan
30dd278708 package.conf.d 2009-11-13 04:59:42 +00:00