Commit Graph

23 Commits

Author SHA1 Message Date
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