Commit Graph

246 Commits

Author SHA1 Message Date
Jens Petersen
f654d302ae add patch 2009-04-28 09:59:05 +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
Bryan O'Sullivan
3c08c5160e Sources for GHC 6.10.2 2009-04-08 20:56:33 +00:00
Jens Petersen
c4a311b180 cabal2spec and templates now live in cabal2spec package 2009-03-05 06:55:15 +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
9c2030439c quote some test args 2008-11-25 15:40:11 +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
10d4eb08a1 omit README from lib spec template for now, since some hackage packages
don't hav e one
2008-11-25 03:47:45 +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
49ce8a29d1 make ghc_reindex_haddock safer when ghc-doc not installed 2008-10-23 08:31:20 +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
4b8e6f699e Remove accidental bogosity experiment 2008-10-15 03:52:24 +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