Jens Petersen
40a7e828d4
also make %ghc_lib_build docdir unversioned
...
require redhat-rpm-config >= 9.1.0-50.fc20
2013-07-26 12:18:47 +09:00
Jens Petersen
e5c7bca0e8
in F20 docdir's are now unversioned
...
https://fedoraproject.org/wiki/Changes/UnversionedDocdirs
2013-07-26 11:40:49 +09:00
Jens Petersen
2e67bb2ce5
check for bindir before looking for executables in ghc_clear_execstack
2013-07-11 10:41:16 +09:00
Jens Petersen
49912b0df5
add ghc_clear_execstack and use it also in ghc_lib_install
2013-07-10 16:32:39 +09:00
Jens Petersen
1b79de9a6f
drop doc/prof obsoletes/provides for subpkgs; clear executable stack flag for exec's
...
- changes are to %ghc_lib_subpackage and %ghc_bin_install
2013-07-10 15:36:54 +09:00
Jens Petersen
f0c10c9f13
only configure with --global if not subpackaging libs
2013-06-21 01:41:43 +09:00
Jens Petersen
e08038a4a4
reenable hscolour
2013-06-20 17:32:19 +09:00
Jens Petersen
328fc11463
turn off hscolour for bootstrap
2013-06-20 16:36:11 +09:00
Jens Petersen
3790c3a7fb
add --global to %cabal_configure; bump to 1.0
2013-06-19 16:36:17 +09:00
Jens Petersen
27ddc9ecb2
extra: add %_isa to shared requires
2013-06-19 16:33:44 +09:00
Jens Petersen
6dad230ddb
extra ghc_lib_subpackage: fix missing backslashes and updates Summary's
2013-06-17 13:54:55 +09:00
Jens Petersen
54b338816d
merge remaining extra macros into %ghc_lib_subpackage
2013-06-17 13:49:03 +09:00
Jens Petersen
ecaa01415c
extra macros cleanup: merge all remaining macros into %ghc_lib_subpackage
2013-06-17 13:47:03 +09:00
Jens Petersen
80fec1cbd1
configure builds with ghc -O2 ( #880135 )
2013-06-06 17:57:46 +09:00
Jens Petersen
aae062eae8
fix missing \ in -m conditional
2013-06-05 12:50:18 +09:00
Jens Petersen
9761c94426
drop -h option from extra macros and make -m work again
2013-06-05 12:43:26 +09:00
Jens Petersen
6d8c8e6f0c
drop %ghc_compiler to avoid srpm problems in koji etc
2013-05-17 17:51:41 +09:00
Jens Petersen
0dd634c574
RPATH that needs to be fixed is not always first
2013-05-07 15:40:46 +09:00
Jens Petersen
1b2339d407
move configure --htmldir to ghc_lib_build; %ghc_compiler; move %ghc_devel_requires to extra
...
but now I fear that %ghc_compiler needs to be in macros.ghc-srpm for mock/koji
2013-05-04 23:34:41 +09:00
Jens Petersen
237337a6c6
fix %cabal -no-user-package-conf error in last commit
...
ghc takes "-no-user-package-db" vs ghc-pkg's "--no-user-package-db"
2013-04-24 16:08:41 +09:00
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