Jens Petersen
8f46ab51f2
extra: add %ghc_merge_filelist from ghc*.spec
5 months ago
Jens Petersen
dfacabb0d6
%ghc_lib_subpackage: with %ghc_obsoletes_name obsolete ghc%{ghc_major}-*
2 years ago
Jens Petersen
051b51f30f
define ghc_prefix (used for ghcX.Y packaging)
3 years ago
Jens Petersen
0b9d47c300
update license and use https for subpackage url (Tim Landscheidt,#2)
3 years ago
Jens Petersen
192fd2f9c3
restore %ghc_fix_rpath for compat and drop it from %ghc_libs_install
4 years ago
Jens Petersen
708a38ba61
add ghc-filesystem subpkg for ghc doc dirs
4 years ago
Jens Petersen
34a277046d
extra: add %ghc_subpackages_list
...
can be used by ghc etc for metapkg to depend on all subpackages
4 years ago
Jens Petersen
2e40c5d979
make doc subpackages noarch for subpackaging
5 years ago
Jens Petersen
338a2e11bc
%ghc_lib_subpackage -m for meta subpackages
5 years ago
Jens Petersen
c0416597f5
ghc_lib_subpackage: provide static with isa suffix
5 years ago
Jens Petersen
8e03288604
revert to handling subpackage license in %ghc_gen_filelists
5 years ago
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
5 years ago
Jens Petersen
a848de7b31
add pkg-doc.files
...
initial use-case: adding ghc-prim and integer-gmp to base
5 years ago
Jens Petersen
1d408a6bad
static provides
5 years ago
Jens Petersen
7c7ff554ce
implement doc and prof subpackages
5 years ago
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
5 years ago
Jens Petersen
0a4591897c
drop the ldconfig scripts since they are not needed for F28
7 years ago
Jens Petersen
2e2b672417
make the recent dynlib changes conditional on _ghcdynlibdir and disable
...
(without_shared remains gone)
7 years ago
Jens Petersen
1306c9a80d
add ldconfig install scripts to ghc_lib_subpackage
7 years ago
Jens Petersen
635a0ea454
Group and %defattr are only needed for rhel5
8 years ago
Jens Petersen
09527a512d
subpackages can contain numbers and need --user
8 years ago
Jens Petersen
f1517cd581
fix handling of ghc's .files with new ghc_lib_subpackage -d option
8 years ago
Jens Petersen
89fc8859a1
fix subpackage builds
...
if %ghc_subpackaging set configure with --user otherwise --global
8 years ago
Jens Petersen
ae0985a107
build subpackages inside main package dir
8 years ago
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
8 years ago
Jens Petersen
ebdd0063dd
make ghc_lib_subpackage backward compatible with older 2 arg form
8 years ago
Jens Petersen
ad5af6773a
update comments for %ghc_libs_build and %ghc_libs_install
8 years ago
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
8 years ago
Jens Petersen
8539a717fc
%ghc_lib_subpackage now takes name-version processed with lua
8 years ago
Jens Petersen
84a7696ad1
move license handling from %ghc_libs_install to %ghc_gen_filelists
8 years ago
Jens Petersen
40e1493069
rename to %ghc_libs_build and %ghc_libs_install
...
from %ghc_sublib_*
8 years ago
Jens Petersen
2d136c9538
%ghc_sublib_install: handle different license filenames
8 years ago
Jens Petersen
96d4e688f4
macros.ghc-extra: quote the sed expressions harder
8 years ago
Jens Petersen
986f88ae73
2 new macros to ease bundling libraries
...
- ghc_sublib_build and ghc_sublib_install
8 years ago
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
9 years ago
Jens Petersen
fb48383d9f
missing backslash after defining ghc_prefix
10 years ago
Jens Petersen
f0f6b5560d
allow overriding ghc- prefix with %ghc_name (for ghc784 etc)
10 years ago
Jens Petersen
7a5198b86b
fix warning in macros.ghc-extra about unused %pkgnamever
11 years ago
Jens Petersen
e3136771b3
rename macros source files removing ghc-rpm- prefix
11 years ago