Commit Graph

482 Commits

Author SHA1 Message Date
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
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
Bryan O'Sullivan
548ce8bbda GHC 6.8.3 release candidate. 2008-05-28 18:25:23 +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
Jens Petersen
1892b30c0b remove unrecognized --docdir from configure 2008-02-14 08:11:43 +00:00
Jens Petersen
0a7ad4bf36 rebuild with gcc43 2008-02-14 07:36:23 +00:00
Bryan O'Sullivan
3d1944144e Sync up with fixes from F-8 2008-01-22 01:10:50 +00:00
Bryan O'Sullivan
f57118ecb9 Old configure does not grok docdir,htmldir 2008-01-07 23:24:04 +00:00
Bryan O'Sullivan
d59db7372a Fix haddock paths 2008-01-07 22:57:23 +00:00