Commit Graph

483 Commits

Author SHA1 Message Date
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
Jens Petersen
19f6f35b16 define doc-index subpackage and set without_haddock for bootstrap
- drop Group fields
2012-11-17 18:43:22 +09:00
Jens Petersen
c4cf8af204 update changelog timestamp 2012-11-17 12:28:31 +09:00
Jens Petersen
f6ebb90def revert rpm-state and bring back ghc-doc-index cronjob in ghc-doc-index subpackage
- add new ghc-doc-index script
- forward port ghc-7.4-silence-gen_contents_index.patch
- remove /var/lib/rpm-state/ghc/
2012-11-16 16:57:46 +09:00
Jens Petersen
483b090ae7 drop doc re-indexing cronjob and add a rpm-state dir for posttrans scripts (#870694) 2012-10-29 20:14:11 +09:00
Jens Petersen
356d662fcc enable hscolour normally, drop BR hscolour, without_hscolour bootstrap now in ghc-rpm-macros 2012-10-25 16:49:08 +09:00
Jens Petersen
f39feba3da revert the removal of ghci HS*.o lib files (see http://hackage.haskell.org/trac/ghc/ticket/7249) 2012-10-24 14:00:31 +09:00
Jens Petersen
ac56c4ea87 use %buildroot instead of $RPM_BUILD_ROOT ; remove HS*.o files 2012-09-30 17:52:34 +09:00
Jens Petersen
a3e1a4bd2b disable Cabal building ghci lib files 2012-08-24 21:33:48 +09:00
Jens Petersen
d69bc0fa37 update to 7.4.2 bootstrap
- drop arm StgCRun patches
- update arm hf patch
- use _smp_mflags
2012-08-24 16:30:44 +09:00
Dennis Gilmore
d27beede6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 00:11:59 -05:00
Jens Petersen
64f38f75fa use ghc_lib_subpackage instead of ghc_binlib_package 2012-06-15 16:55:18 +09:00
Jens Petersen
df25dd92de ghc-wrapper-libffi-include.patch for "missing libffi.h" when compiling prof on secondary archs
eg on armv7:

[ 1 of 21] Compiling Data.Functor.Product ( Data/Functor/Product.hs, dist/build/Data/Functor/Product.p_o )

/tmp/ghc1692_0/ghc1692_0.c:4:17:
     fatal error: ffi.h: No such file or directory
2012-05-02 19:54:30 +09:00
Jens Petersen
8dcd7bb8c1 full build for ARM 2012-04-28 13:37:49 +09:00
Jens Petersen
3443bff0bf BR autoconf for armv7hl patch 2012-04-27 23:48:28 +09:00
Jens Petersen
2d889de3ba Reverting last patch "avoid actually running aclocal (for +d16) by using hard float patch closer to Ubuntu" and run autoreconf 2012-04-27 23:18:42 +09:00
Jens Petersen
deef098bfc avoid actually running aclocal (for +d16) by using hard float patch closer to Ubuntu
-drop the original debian armhf llvm driver patches
2012-04-27 10:56:12 +09:00
Jens Petersen
8d5c7715aa remove the erroneous doublequote after -D__ARM_PCS_VFP 2012-04-23 19:13:27 +09:00
Jens Petersen
02d6827bb4 revert dropping ghc-debian-ARM-VFPv3D16.patch and define __ARM_PCS_VFP in build.mk 2012-04-23 17:57:54 +09:00
Jens Petersen
759e833d8b try disabling debian ARM-VFPv3D16 patch
/usr/bin/ld: error: /tmp/ghc24961_0/ghc24961_0.o uses VFP register arguments, libraries/base/dist-install/build/GHC/Event/Clock.o does not
2012-04-14 12:18:52 +09:00
Jens Petersen
9bcd864566 the armel patches are -p1 2012-04-14 02:14:37 +09:00
Jens Petersen
822ef01b54 add 4 ARM patches from Debian for armel and armhf
- BR llvm not clang
- remove arm from unregisterised_archs
- revert dropping --with-gcc
2012-04-14 01:37:26 +09:00
Jens Petersen
4bbcdfba1a set CC to clang for ARM 2012-04-14 00:23:08 +09:00
Jens Petersen
5042efe9e9 drop --with-gcc 2012-04-13 23:27:46 +09:00
Jens Petersen
279ebd2aeb BR clang not just llvm for ARM; bootstrap build 2012-04-10 11:20:14 +09:00
Jens Petersen
aeeb8ec996 turn off bootstrapping options for full build 2012-03-21 20:49:32 +09:00
Jens Petersen
7f77651f38 move ghc manpage out of without_manual in filelist 2012-03-21 19:36:26 +09:00
Jens Petersen
33b5ed2c09 major update to ghc-7.4.1
- http://www.haskell.org/ghc/docs/7.4.1/html/users_guide/release-7-4-1.html
- add Cabal-fix-dynamic-exec-for-TH.patch
- use Debian's system-libffi patch
- drop ppc64 config, pthread and mmap patches
- add s390 and s390x to unregisterised_archs
2012-03-21 19:05:22 +09:00
Jens Petersen
7e4b4dd180 tweak release for test scm build 2012-02-24 11:27:37 +09:00
Jens Petersen
d6e745ac28 try temporarily disabling all the ppc64 "hacks" to see if really all needed 2012-02-24 11:17:31 +09:00
Jens Petersen
d2fbf7eeec add %_isa to external dependencies 2012-02-24 11:16:14 +09:00
Jens Petersen
45d7805f80 minor ghc.spec cleanup
- add another #%%global without_testsuite 1
- make versioned ghc-compiler BR conditional on no ghc_bootstrapping
- reformat library BRs
- symlink to system libffi headers
2012-02-19 15:57:17 +09:00
Jens Petersen
04c4201e69 fix build with system libffi
- add rest of debian system-libffi patch,
- copy libffi headers into rts build dir
- acknowledge Debian's patch
2012-02-16 15:16:20 +09:00
Jens Petersen
1998ace9af update to new 7.4.1 major release
(still doesn't build: system libffi patch seems incomplete -
can't find the libffi headers)
2012-02-16 10:46:28 +09:00
Jens Petersen
e45f98193a move ghc-ghc-devel from ghc-libraries to the ghc metapackage 2012-01-19 12:13:37 +09:00
Dennis Gilmore
233adc0172 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 21:19:12 -06:00
Jens Petersen
d0209980c8 move listing of haddock into conditional doc block 2011-11-15 09:21:18 +09:00
Jens Petersen
d43d5d920b fix the ghost listing of hsc2hs 2011-11-15 09:06:42 +09:00
Jens Petersen
72942f48a7 fix alternatives usage to follow Packaging:Alternatives (#753661) 2011-11-14 19:29:08 +09:00
Jens Petersen
b24f66d05f move ghc-doc and ghc-libs obsoletes; add HaskellReport license to base and libraries subpackages 2011-11-14 12:09:28 +09:00
Jens Petersen
ec9ab4a788 make the post and postun scripts now be for the compiler subpackage 2011-11-10 18:23:09 +09:00
Jens Petersen
4a3e507ba5 also rename %files devel to libraries 2011-11-02 13:15:00 +09:00
Jens Petersen
b0af02e9fe rename ghc-devel metapackage to ghc-libraries and require ghc-rpm-macros-0.14 2011-11-02 13:12:03 +09:00
Jens Petersen
a8b3c2830f move compiler and tools to ghc-compiler, and make ghc metapackage for all ghc 2011-11-01 21:27:14 +09:00
Jens Petersen
583bb8c9d1 rebuild in the right dist tag 2011-10-28 19:09:35 +09:00
Jens Petersen
6d2d60012f add HaskellReport license tag to subpackages with Haskell Report code 2011-10-28 18:14:37 +09:00
Marcela Mašláňová
a627cf8286 rebuild with new gmp without compat lib 2011-10-20 19:23:08 +02:00
Jens Petersen
975f671fc0 setup ghc-deps.sh after ghc_version_override for bootstrapping 2011-10-20 10:19:50 +09:00
Jens Petersen
e274f6227d add armv5tel and use ghc-deps.sh when bootstrapping 2011-10-18 18:15:34 +09:00
Jens Petersen
6ca8b93328 improve system libffi changelog comment 2011-10-17 15:31:53 +09:00
Jens Petersen
2d092a21c2 remove libffi_archs and include ghci lib in ghc-devel 2011-10-17 14:17:35 +09:00
Marcela Mašláňová
652f7a1e3d rebuild with new gmp 2011-10-11 09:45:13 +02:00
Jens Petersen
6654f847c4 use ghc-rpm-macros-0.13.11 to fix devel subpackages' provides/obsoletes versions 2011-09-30 11:15:57 +09:00
Jens Petersen
458ba66b67 no need to specify -lffi in build.mk (Henrik Nordström) 2011-09-29 15:42:49 +09:00
Jens Petersen
a36940c06b port to armv7hl by Henrik Nordström (#741725) 2011-09-28 11:33:44 +09:00
Jens Petersen
5e668afb67 setup ghc-deps.sh when not bootstrapping\! 2011-09-14 17:16:02 +09:00
Jens Petersen
f0b82bb38a setup ghc-deps.sh here now since no longer in %ghc_package_devel 2011-09-14 16:12:47 +09:00
Jens Petersen
c761d8e338 fix one last old %{with doc} 2011-06-17 22:22:22 +09:00
Jens Petersen
840ac941d3 skip failing ghc_check_bootstrap for now 2011-06-17 18:35:15 +09:00
Jens Petersen
580ab063fd bump ghc-rpm-macros 2011-06-17 18:25:02 +09:00
Jens Petersen
19346d4500 add new bootstrapping mode using ghc_bootstrap (ghc-rpm-macros-0.13.5)
- BR same ghc version unless ghc_bootstrapping defined
- use ghc_check_bootstrap
- put dyn before p in GhcLibWays
2011-06-17 18:19:04 +09:00
Jens Petersen
012f178446 drop ghc_check_bootstrap for now until work out why failing in koji 2011-06-17 14:56:34 +09:00
Jens Petersen
0e85ce156f don't need to condition ghc_check_bootstrap 2011-06-17 14:32:54 +09:00
Jens Petersen
08500177f1 add ghc_bootstrap build mode
- add ghc_bootstrap build mode using: ghc_without_shared, without_prof,
  without_haddock, without_manual, without_testsuite
- add libffi_archs
- use ghc-rpm-macros-0.13.4 for ghc_check_bootstrap
- drop the quick build profile
2011-06-17 14:11:07 +09:00
Jens Petersen
beb07b602f update summary in addition to description 2011-06-16 18:16:39 +09:00
Jens Petersen
5423156d0b update to 7.0.4 bugfix release
- strip static again (upstream #5004 fixed)
- Cabal updated to 1.10.2.0
- re-enable testsuite
2011-06-16 18:12:59 +09:00
Jens Petersen
ce45e5bc6e change from ExclusiveArch to ExcludeArch to target more archs 2011-06-14 17:11:44 +09:00
Jens Petersen
20d7047bee obsolete dph libraries and feldspar-language 2011-05-21 23:22:35 +09:00
Jens Petersen
88df269cee improve the prof merge changelog entry 2011-05-16 14:10:51 +09:00
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
Bryan O'Sullivan
4656dedc90 Give up on man pages for now 2009-11-13 04:29:19 +00:00
Bryan O'Sullivan
792037f8e8 Bump release 2009-11-13 03:37:54 +00:00
Bryan O'Sullivan
3da47cd87b Try to install man pages 2009-11-13 03:36:38 +00:00
Bryan O'Sullivan
36c509220a Bump release 2009-11-13 02:59:48 +00:00
Bryan O'Sullivan
fa36f01e95 fix %check 2009-11-13 02:59:15 +00:00
Bryan O'Sullivan
7320d2d2ff Build fixes 2009-10-12 03:58:22 +00:00
Bryan O'Sullivan
64a92f34b6 Figure out how to install docs 2009-10-12 02:48:15 +00:00
Bryan O'Sullivan
be50ea68e1 Correct the version of the embedded Haddock 2009-10-12 01:18:42 +00:00
Bryan O'Sullivan
41ceb8a529 First attempt at GHC 6.12 RC 1 2009-10-12 01:06:41 +00:00
Jens Petersen
e6bc25d894 - selinux file context no longer needed in post script
- (for ghc-6.12-shared) drop ld.so.conf.d files
--------------------------------------------------------------
2009-10-01 08:45:50 +00:00
Jens Petersen
92df927325 version haskell-platform note 2009-09-28 05:39:09 +00:00
Jesse Keating
b19d8634e1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-25 00:03:07 +00:00
Bryan O'Sullivan
7532ff0904 ghc 6.10.4 2009-07-22 04:04:45 +00:00
Jens Petersen
95a0f6c3c6 - add haddock_version and use it to obsolete haddock and ghc-haddock-* 2009-05-30 06:16:53 +00:00
Jens Petersen
16c9fecedf tweak haddock changelog comment 2009-05-28 00:11:55 +00:00
Jens Petersen
5c4b5faeff - drop ghc-mk-pkg-install-inplace.patch: no longer needed with new 6.11
buildsys
- add bcond for extralibs
- rename doc bcond to manual
2009-05-22 04:29:13 +00:00
Jens Petersen
f7351e6085 update haddock provides 2009-05-22 03:17:29 +00:00
Jens Petersen
e092da1081 editline is no longer needed to build 2009-05-13 07:23:07 +00:00
Jens Petersen
4d88e55f20 - update to 6.10.3
- macros.ghc moved to ghc-rpm-macros package
- fix handling of hscolor files in filelist generation
- give up ppc unregisterized build since it failed
2009-05-13 07:17:04 +00:00
Jens Petersen
773bb46c70 try unregisterised ppc to see if that stops the segfaulting with runghc 2009-05-02 06:57:24 +00:00
Jens Petersen
12ad68912d remember to actually turn off shared libs for now 2009-04-29 07:33:54 +00:00
Jens Petersen
fbbca4c56f only BR libffi-devel for shared build 2009-04-28 10:09:37 +00:00
Jens Petersen
e93fe4deda - add experimental bcond hscolour
- BR libffi-devel
- add experimental support for building shared libraries (for ghc-6.11)
- add libs subpackage for shared libraries
- create a ld.conf.d file for libghc*.so
- drop redundant setting of GhcLibWays in build.mk for no prof
- drop redundant setting of HADDOCK_DOCS
- simplify filelist names
- add a check section based on tests from debian package
- be more careful about doc files in filelist
2009-04-28 09:45:16 +00:00
Jens Petersen
a60b93f8dd remove ghc-requires from %install and %files 2009-04-24 07:59:57 +00:00
Jens Petersen
43b24a206d - define ghc_version in macros.ghc in place of ghcrequires
- drop ghc-requires script for now
2009-04-24 07:28:14 +00:00
Jens Petersen
7b1f4da984 - add ghc-requires rpm script to generate ghc version dependencies (thanks
to Till Maas)
- update macros.ghc:
- add %%ghcrequires to call above script
- pkg_libdir and pkg_docdir no longer to appear in packages and replaced by
    ghcpkgdir and ghcdocdir inside macros.ghc
- make filelist also for docs
2009-04-19 04:28:22 +00:00
Bryan O'Sullivan
1b7e30e4b7 Update to GHC 6.10.2 2009-04-08 21:39:16 +00:00
Jens Petersen
34b48fdbc8 - clean away tabs and excess whitespace padding
- ExclusiveArch: %{ix86} x86_64 ppc alpha
2009-02-27 03:44:31 +00:00
Jens Petersen
a5fa326f81 - drop ghc_archs since it breaks koji
- fix missing -devel in ghc_gen_filelists
- change from ExclusiveArch to ExcludeArch ppc64 since alpha was
    bootstrapped by oliver
2009-02-27 01:05:09 +00:00
Oliver Falk
64f30a94e8 Reenable build on alpha, after we finally managed to build ghc 2009-02-26 09:34:42 +00:00
Jens Petersen
7debd90bb1 - use %%ix86 for change from i386 to i586 in rawhide
- add ghc_archs macro in macros.ghc for other packages
- obsolete haddock09
- use %%global instead of %%define
- use bcond for doc and prof
- rename ghc_gen_filelists lib filelist to -devel.files
--------------------------------------------------------------------
2009-02-25 06:51:56 +00:00
Jesse Keating
a00f693e62 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-24 21:14:13 +00:00
Jens Petersen
6269f30f2f update changelog timestamp 2009-02-13 02:15:56 +00:00
Jens Petersen
cc989bbc31 comment whitespace tweak 2009-02-13 01:51:10 +00:00
Jens Petersen
574cea7124 revert the last -doc files move changes for now 2009-02-13 01:18:06 +00:00
Jens Petersen
0eea3c51b5 - require and buildrequire libedit-devel > 2.11-2
- move top doc dirs to main package for better sharing
- move gen_contents_index and ghost index files to main package
- protect ghc_register_pkg and ghc_unregister_pkg
2009-02-10 08:15:40 +00:00
Jens Petersen
1acf5c7d02 fix to libedit means can drop BR ncurses-devel workaround (#481252) 2009-01-23 07:24:23 +00:00
Jens Petersen
001d3451a6 buildrequire ncurses-devel to fix build of missing editline package needed
for ghci line-editing (#478466)
2009-01-19 10:58:49 +00:00
Jens Petersen
e74c4291aa bump release 2009-01-19 05:47:00 +00:00
Jens Petersen
65d3718c16 - move spec templates to haskell-packaging for easy updating
- provide correct haddock version
spec templating:
- use bcond for
- add doc subpackages to lib and binlib templates
- add license header for cabal2spec
2009-01-19 05:39:55 +00:00
Jens Petersen
644d44d682 more template fixes:
- version pkg_docdir
- put provides in lib subsubpackage
- binlib scripts are for lib subpackage
2008-12-05 09:50:10 +00:00
Jens Petersen
18d2312b75 tweak changelog 2008-12-01 05:49:24 +00:00
Jens Petersen
ad8913e5ff - update macros.ghc to latest proposed revised packaging guidelines:
- use runghc
- drop trivial cabal_build and cabal_haddock macros
- ghc_register_pkg and ghc_unregister_pkg replace ghc_preinst_script,
    ghc_postinst_script, ghc_preun_script, and ghc_postun_script
- lib templates' prof subpackage requires main library again
- make cabal2spec work on .cabal files too, and read and check name and
    version directly from .cabal file
- ghc-prof does not need to own libraries/ dirs owned by main package
2008-12-01 05:46:36 +00:00
Jens Petersen
74a3f2521e - make cabal2spec work on .cabal files too, and read and check name and
version from .cabal
2008-11-28 02:47:49 +00:00
Jens Petersen
b17255a641 - add support for bin and binlib packages to cabal2spec script and only
grep .cabal files for exposed-module/executable
- output bin and/or lib status too
2008-11-25 09:15:17 +00:00
Jens Petersen
0682b80a1d - add cabal2spec and cabal-lib-template.spec for easy Cabal library
packaging
- simplify script macros: make ghc_preinst_script and ghc_postun_script
    no-ops and ghc_preun_script only unregister for uninstall
2008-11-25 02:52:10 +00:00
Jens Petersen
6c9b784686 - fix broken urls to haddock docs created by gen_contents_index script
- avoid haddock errors when upgrading by making doc post script posttrans
2008-11-11 03:48:10 +00:00
Bryan O'Sullivan
f20412293b libraries/prologue.txt should not have been ghosted 2008-11-05 22:19:30 +00:00
Bryan O'Sullivan
6e900886a0 libraries/prologue.txt should not have been ghosted 2008-11-05 21:58:34 +00:00
Bryan O'Sullivan
cd0fae4df4 Fix a minor packaging glitch 2008-11-05 05:32:13 +00:00
Bryan O'Sullivan
378558c597 ghc 6.10.1 release 2008-11-05 04:32:03 +00:00
Jens Petersen
ab507b7b80 - cabal_configure does not need redundant --haddockdir
- actually ghc-pkg no longer seems to create package.conf.old backups
- include LICENSE in doc
2008-10-23 06:40:25 +00:00
Jens Petersen
a8cf709ba6 need to create ghost package.conf.old for ghc-6.10 2008-10-23 03:42:59 +00:00
Jens Petersen
c7ae1a2bd5 - use gen_contents_index to re-index haddock
- add %%pkg_docdir to cabal_configure
- requires(post) ghc for haddock for doc
- improve doc file lists
- no longer need to create ghost package.conf.old
- remove or rename alternatives files more consistently
2008-10-23 03:00:41 +00:00
Bryan O'Sullivan
cb5a89f23c Update macros to put haddock bits in the right place 2008-10-15 03:42:23 +00:00
Bryan O'Sullivan
8a484b3e87 Try to fix doc indexing 2008-10-14 21:32:36 +00:00
Bryan O'Sullivan
354d10e225 Generate haddocks after installing ghc-doc 2008-10-14 18:55:27 +00:00
Jens Petersen
3c43e3814f - provide haddock = 2.2.2
- add selinux file context for unconfined_execmem following darcs package
- post requires policycoreutils
2008-10-13 05:20:47 +00:00
Bryan O'Sullivan
a8b8189107 Port F-10 changes to devel 2008-10-13 03:05:05 +00:00
Bryan O'Sullivan
ef6ff25c36 Don't remove hsc2hs, rename it 2008-10-01 22:26:01 +00:00
Jens Petersen
2e71ab898c bring back %package_debugging for bos since it does "more" than
--short-circuit
2008-09-26 07:14:14 +00:00
Jens Petersen
6a740e49cf revert back from using %configure since it fails on ppc 2008-09-24 08:03:22 +00:00
Jens Petersen
c5b8789b8e tweak docs changelog entries 2008-09-24 07:36:11 +00:00
Jens Petersen
2a4aeca5cc - bring back including haddock-generated lib docs, now under docdir/ghc
- fix macros.ghc filepath (#460304)
- spec file cleanups:
- fix the source urls back
- drop requires chkconfig
- do not override __spec_install_post
- override _target_platform so we can use %%configure
- setup docs building in build.mk
- no longer need to remove network/include/Typeable.h
- install binaries under libdir not libexec
- remove hsc2hs and runhaskell binaries since are alternatives
2008-09-24 07:34:44 +00:00
Jens Petersen
97f36761c3 fix writing of _sysconfdir 2008-09-17 07:11:56 +00:00
Jens Petersen
d85f6b0a84 - add macros.ghc for new Haskell Packaging Guidelines (#460304) 2008-09-17 06:00:51 +00:00
Bryan O'Sullivan
860e5f3f03 More build fixes 2008-06-19 03:43:53 +00:00
Bryan O'Sullivan
34b478a7fd Remove unnecessary dependency on alex 2008-06-19 02:41:10 +00:00
Bryan O'Sullivan
fb0f222aeb GHC 6.8.3 2008-06-18 19:49:45 +00:00
Bryan O'Sullivan
92410e9528 First cut at ghc 6.8.3 spec file 2008-06-18 16:44:34 +00:00
Jens Petersen
f7ca4dbacb bump changelog for another rebuidl attempt 2008-04-08 06:46:15 +00:00
Jesse Keating
ffb1ceca09 - Autorebuild for GCC 4.3 2008-02-18 21:23:56 +00:00
Jens Petersen
bae7070ccb - remove unrecognized --htmldir from configure
- drop old buildrequires on libX11-devel and libXt-devel
2008-02-14 08:31:32 +00:00