Commit Graph

12 Commits

Author SHA1 Message Date
Jens Petersen 3a116c6a29 ghc.attr: include Hadrian lib/ subdir in .conf regex
otherwise lib packages fail to generate devel deps
2023-02-16 00:02:53 +08:00
Jens Petersen f6aa817b92 ghc-deps.sh: split off buildroot from the ghclibdir arg for more precise paths
This allows using the ghclibdir for checking for prof libs,
avoiding collisions with other ghcX.Y-*-prof files:

Processing files: ghc-doctemplates-prof-0.9-7.fc37.x86_64
/usr/lib/rpm/ghc-deps.sh: line 60: [: too many arguments
/usr/lib/rpm/ghc-deps.sh: line 60: [: too many arguments
/usr/lib/rpm/ghc-deps.sh: line 60: [: too many arguments
2022-06-10 14:36:23 +08:00
Jens Petersen 5136c98a2f fix Hadrian ghc dependency generation 2021-12-20 01:36:16 +08:00
Jens Petersen ac98514a64 use ghcliblib/ghclibplatform paths for Hadrian dependency generation 2021-12-19 01:19:56 +08:00
Jens Petersen b3062773f5 for ghcMAJOR generate ghc-VERSION-devel(pkg-ver-hash) metadata
also fix lowercase typo of PKGCONFDIR which just happened to work by glob
2021-12-09 11:54:32 +08:00
Jens Petersen 25cfe11f3d fix deps generation for devel package.conf and prof libHS*_p.a 2019-07-31 10:05:10 +00:00
Jens Petersen e046298ce0 update deps generation for prof subpackages 2019-07-31 10:05:10 +00: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 c62456812e split ghc.attr into ghc_lib.attr and ghc_bin.attr; require ghc-compiler
- allows handling executables more precisely and not assume bindir
- avoid "ghc: command not found" error when ghc wasn't installed
2014-11-14 18:03:42 +09:00
Jens Petersen 9914f51b1b add $ to ghc.attr library path; update changelog date 2014-10-16 17:04:18 +09:00
Jens Petersen 33502e39eb ghc.attr needs to handle requires for /usr/bin files too 2014-10-16 15:51:29 +09:00
Jens Petersen d02dbabc22 add ghc.attr for running ghc-deps.sh and use internal rpm dep generator
- update test-rebuild.sh to f22 for master
2014-08-21 15:34:31 +09:00