Jens Petersen
192fd2f9c3
restore %ghc_fix_rpath for compat and drop it from %ghc_libs_install
2021-06-08 21:20:51 +08:00
Jens Petersen
708a38ba61
add ghc-filesystem subpkg for ghc doc dirs
2021-04-08 12:21:43 +08:00
Jens Petersen
34a277046d
extra: add %ghc_subpackages_list
...
can be used by ghc etc for metapkg to depend on all subpackages
2021-02-16 20:56:22 +08:00
Jens Petersen
2e40c5d979
make doc subpackages noarch for subpackaging
2020-07-21 18:18:02 +08:00
Jens Petersen
338a2e11bc
%ghc_lib_subpackage -m for meta subpackages
2020-07-13 12:01:44 +08:00
Jens Petersen
c0416597f5
ghc_lib_subpackage: provide static with isa suffix
2019-08-05 18:51:19 +08:00
Jens Petersen
8e03288604
revert to handling subpackage license in %ghc_gen_filelists
2019-07-31 10:05:10 +00:00
Jens Petersen
35cd9d015e
switch from without_prof/haddock to with_ghc_prof/haddock
...
We now have build config consistent with standard bcond across our packages
2019-07-31 10:05:10 +00:00
Jens Petersen
a848de7b31
add pkg-doc.files
...
initial use-case: adding ghc-prim and integer-gmp to base
2019-07-31 10:05:10 +00:00
Jens Petersen
1d408a6bad
static provides
2019-07-31 10:05:10 +00:00
Jens Petersen
7c7ff554ce
implement doc and prof subpackages
2019-07-31 10:05:10 +00:00
Jens Petersen
2dafbc455d
drop devel %post and %postun (replaced by triggers in ghc-compiler)
...
No longer use %ghc_pkg_c_deps hack to require ghc-compiler = ver-rel
- check for ghc_version_override instead
2019-07-31 10:03:52 +00:00
Jens Petersen
0a4591897c
drop the ldconfig scripts since they are not needed for F28
2018-02-04 00:09:19 +09:00
Jens Petersen
2e2b672417
make the recent dynlib changes conditional on _ghcdynlibdir and disable
...
(without_shared remains gone)
2018-01-28 08:02:46 +01:00
Jens Petersen
1306c9a80d
add ldconfig install scripts to ghc_lib_subpackage
2018-01-23 13:27:36 +01:00
Jens Petersen
635a0ea454
Group and %defattr are only needed for rhel5
2017-04-07 19:11:29 +09:00
Jens Petersen
09527a512d
subpackages can contain numbers and need --user
2017-02-23 20:58:38 +09:00
Jens Petersen
f1517cd581
fix handling of ghc's .files with new ghc_lib_subpackage -d option
2017-02-13 19:25:12 +09:00
Jens Petersen
89fc8859a1
fix subpackage builds
...
if %ghc_subpackaging set configure with --user otherwise --global
2017-02-10 12:50:57 +09:00
Jens Petersen
ae0985a107
build subpackages inside main package dir
2017-02-09 10:52:59 +09:00
Jens Petersen
5517c1f361
new cabal-tweak-drop-dep and other merges from github
...
- no longer use a topdir for subpackage building
- only autopackage license if subpackaging
- move uniq to ghc-pkg-wrapper
- add macros.ghc-fedora for Fedora specific config
- replace cabal_verbose with cabal_configure_verbose, cabal_build_verbose,
cabal_install_verbose, cabal_haddock_verbose, and cabal_test_verbose
- new _ghcdocdir
2017-02-08 15:26:07 +09:00
Jens Petersen
ebdd0063dd
make ghc_lib_subpackage backward compatible with older 2 arg form
2016-10-26 17:53:13 +09:00
Jens Petersen
ad5af6773a
update comments for %ghc_libs_build and %ghc_libs_install
2016-10-12 12:02:19 +09:00
Jens Petersen
411d61ddf0
new ghc_fix_rpath macro deprecates ghc_fix_dynamic_rpath
...
- ghc-pkg-wrapper: quieter and simple output
- ghc_libs_install now runs ghc_fix_rpath to fix subpackage rpaths
2016-09-27 14:30:59 +09:00
Jens Petersen
8539a717fc
%ghc_lib_subpackage now takes name-version processed with lua
2016-09-01 14:59:29 +09:00
Jens Petersen
84a7696ad1
move license handling from %ghc_libs_install to %ghc_gen_filelists
2016-08-25 19:12:58 +02:00
Jens Petersen
40e1493069
rename to %ghc_libs_build and %ghc_libs_install
...
from %ghc_sublib_*
2016-08-18 15:25:17 +09:00
Jens Petersen
2d136c9538
%ghc_sublib_install: handle different license filenames
2016-08-18 14:24:03 +09:00
Jens Petersen
96d4e688f4
macros.ghc-extra: quote the sed expressions harder
2016-08-17 18:16:52 +09:00
Jens Petersen
986f88ae73
2 new macros to ease bundling libraries
...
- ghc_sublib_build and ghc_sublib_install
2016-08-17 17:34:46 +09:00
Jens Petersen
7e15be0963
backport changes from ghc-7.10.3 copr as 1.6.0
...
- ghc_gen_filelists: determine keyname with pkgnamever not just pkgname
(fixes building newer version of installed package)
- use _rpmconfigdir macro
- support el6 (no fileattrs or /usr/lib/rpm/macros.d)
- change url to github
- add and use ghc-pkg-wrapper script
- use ghc-pkg key field (for ghc-7.10)
- configure libsubdir using pkgkey like ghc-cabal
- handle no ghc-srpm-macros for fedora < 21
- fix ghc-pkg path in ghc-deps.sh for ghc-7.10
- version ghc-pkg in ghc_pkg_recache
- update ghc_gen_filelists to use new keyed library filepaths
and specify libHS*.so more loosely
- ghc-dep.sh now just makes versioned devel reqs
- rename ghc_lib.attr to ghc.attr and drop ghc_bin.attr
- enable debuginfo package
2016-06-03 13:19:05 +09:00
Jens Petersen
fb48383d9f
missing backslash after defining ghc_prefix
2015-03-08 14:30:35 +09:00
Jens Petersen
f0f6b5560d
allow overriding ghc- prefix with %ghc_name (for ghc784 etc)
2015-03-07 22:38:07 +09:00
Jens Petersen
7a5198b86b
fix warning in macros.ghc-extra about unused %pkgnamever
2014-08-20 22:09:31 +09:00
Jens Petersen
e3136771b3
rename macros source files removing ghc-rpm- prefix
2014-05-17 17:29:11 +09:00