Jens Petersen
6910d07de7
for ghc-7.6 use --global-package-db and --no-user-package-db
2013-04-23 20:09:58 +09:00
Jens Petersen
73b0bd180f
large update for simplified reworked revision of Packaging Guidelines
...
- see https://fedorahosted.org/fpc/ticket/194 for discussion
- move section and multiple library metamacros to new extra subpackage
- packaging no longer depends on availability of shared libs
so is same now for all primary and secondary archs: ie there is always
a binary base library package
- drop ghc_add_basepkg_file macro and ghc_exclude_docdir
2013-04-23 18:15:11 +09:00
Ralf Corsépius
9921428d92
Remove %config from %{_sysconfdir}/rpm/macros.*
...
(https://fedorahosted.org/fpc/ticket/259 ).
2013-03-20 07:55:15 +01:00
Jens Petersen
15903c519c
add changelog entries for %pkgdir fix and %ghc_with_lib_for_ghci
2013-02-26 18:39:44 +01:00
Jens Petersen
f37546310e
only add %pkgdir/ to filelist if it exists
...
fixes haskell-platform build on secondary
2013-02-26 18:32:00 +01:00
Jens Petersen
ff319a0028
add %ghc_with_lib_for_ghci to enable building ghci library file
...
Normally not needed since ghci can now load .a files
2013-02-26 18:19:02 +01:00
Jens Petersen
7dad4d39bd
move test-rebuild.sh here from haskell-sig.git
2013-02-14 19:43:21 +09:00
Dennis Gilmore
6153b67702
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2013-02-13 17:17:21 -06:00
Jens Petersen
11c364e456
simplify cabal-tweak-flag script to take one flag value
2013-01-22 12:22:28 +09:00
Jens Petersen
436bfaf65d
%ghc_fix_dynamic_rpath for cleaning up executables linked against own libs
2013-01-22 11:31:08 +09:00
Jens Petersen
59daf96cb2
make only ghc-PKG own libdir/ghc-ver/pkg-ver/ ( #893777 )
...
thanks to Michael Scherer for reporting
2013-01-18 18:52:08 +09:00
Jens Petersen
6af89aa214
add cabal-tweak-flag script for toggling flag default
2012-12-03 16:00:06 +09:00
Jens Petersen
4add3928b3
re-enable hscolour
2012-11-17 23:11:03 +09:00
Jens Petersen
548aff606e
bootstrap hscolour
2012-11-17 22:34:36 +09:00
Jens Petersen
44c764437c
revert also the doc indexing changes from the spec file
2012-11-16 16:38:37 +09:00
Jens Petersen
93b9c369fc
revert the ghc doc index changes back to just using a (now optional) cronjob
...
The overhead to re-indexing in posttrans and postun seems too high
2012-11-16 16:25:00 +09:00
Jens Petersen
8af2ba71ac
test-rebuild.sh: moved to haskell-sig/bin
2012-11-16 16:21:40 +09:00
Jens Petersen
29279d4a5b
silence output from gen_contents_index
2012-10-30 11:20:39 +09:00
Jens Petersen
ea552a4daf
add haddock reindexing for %postun also
...
This will slow down removal of ghc-*-devel pkgs but seems no simple
way round that and removal is less common than installing anyway.
2012-10-30 11:00:23 +09:00
Jens Petersen
9e0aa2550c
bring back doc re-indexing in posttrans using /var/lib/rpm-state/ghc/
2012-10-29 20:02:06 +09:00
Jens Petersen
bda56fd9b1
BR redhat-rpm-config not ghc-rpm-macros; don't set without_hscolour in macros.ghc
2012-10-25 18:13:54 +09:00
Jens Petersen
4d0b6136b6
test-rebuild.sh: protect the rpm query commands for when no output
2012-10-20 15:05:25 +09:00
Jens Petersen
82a1405dd8
test-rebuild.sh: test if package is installed before yum install
2012-10-20 14:34:44 +09:00
Jens Petersen
1433654678
test-rebuild.sh: revert the erroneous yum install change
2012-10-20 14:29:10 +09:00
Jens Petersen
30bb029b38
test-rebuild.sh: fix yum install arg; also generate --scripts output
2012-10-20 14:26:12 +09:00
Jens Petersen
345bcf3e91
test-rebuild.sh: dont move into arch subdir
2012-10-09 17:57:03 +09:00
Jens Petersen
fdb0081a16
test-rebuild.sh: allow running in cwd without arg
2012-10-09 16:38:47 +09:00
Jens Petersen
b968d18349
test-rebuild.sh: fix nvr list
2012-10-09 16:26:45 +09:00
Jens Petersen
2950c5e61e
test-rebuild.sh: make yum install quiet
2012-10-09 16:22:37 +09:00
Jens Petersen
e519a84941
test-rebuild.sh: run fedpkg verrel in the right dir
2012-10-09 13:24:52 +09:00
Jens Petersen
a13d4b8b20
test-rebuild.sh: use "fedpkg verrel" to find built rpms
2012-10-09 13:22:50 +09:00
Jens Petersen
85455e4eb0
test-rebuild.sh: yum install packages one by one
2012-10-09 13:16:23 +09:00
Jens Petersen
880c4fcd5d
test-rebuild.sh: for now just output to stdout
2012-10-09 13:06:49 +09:00
Jens Petersen
395cffc7aa
test-rebuild.sh: diff returns non-zero when there is a diff
2012-10-09 13:01:11 +09:00
Jens Petersen
c818743e11
test-rebuild.sh: try to fix diff output
2012-10-09 12:39:43 +09:00
Jens Petersen
20b1088ae2
fix missing html haddock output
2012-10-09 12:28:27 +09:00
Jens Petersen
e0729035a0
need to pass --html to "cabal haddock" to get html and not just hoogle
2012-10-09 12:25:41 +09:00
Jens Petersen
798c11607f
rename test-rebuild to test-rebuild.sh
2012-10-09 12:23:36 +09:00
Jens Petersen
a32bb68aba
test-rebuild: display diff output better
2012-10-09 12:23:03 +09:00
Jens Petersen
73b6ce9c57
test-rebuild: add file listing and output diff's
2012-10-09 10:57:48 +09:00
Jens Petersen
4f1f547f24
test-rebuild: filter out rpmlib lines; diff can't filter lines
2012-10-05 19:58:56 +09:00
Jens Petersen
a8bcd3741f
test-rebuild: set -e; require fresh arch dir
2012-10-05 19:49:32 +09:00
Jens Petersen
6f947c0328
test-rebuild: use n-v-r, and keep tmp dir around
2012-10-05 19:39:08 +09:00
Jens Petersen
e399d7ff29
test-rebuild: rename test/ to test-tmp/ ; use ls -t; exclude rpmlib(FileDigests)
2012-10-05 19:27:16 +09:00
Jens Petersen
1bb678c64a
test-rebuild: really fix yum-builddep; list subpackages by name-ver
2012-10-05 19:15:07 +09:00
Jens Petersen
ca5159471f
test-rebuild: 2nd arg for fedora branch
2012-10-05 19:07:51 +09:00
Jens Petersen
eb601b5e70
test-rebuild: allow building from cwd or existing subdir; builddep on spec file
2012-10-05 19:05:57 +09:00
Jens Petersen
8b059158ba
test-rebuild: fix builddep command and ghc-PKG rpm listing
2012-10-05 19:02:54 +09:00
Jens Petersen
07fccfd9a1
add comment about for unbootstrapping hscolour; add test-rebuild script for testing changes
...
so far script gives diffs of requires and provides
2012-10-05 18:55:03 +09:00
Jens Petersen
5d116cb4cc
no need to BR hscolour
2012-09-20 12:05:40 +09:00