Jens Petersen
509ff09e05
undefine %debug_package rather than %_enable_debug_packages
...
avoids "Empty %files file debugsourcefiles.list" error
See https://bugzilla.redhat.com/show_bug.cgi?id=2292419
7 months ago
Jens Petersen
349de2927a
rename no-prof to quick
10 months ago
Jens Petersen
05a30bbe06
version 2.6.8
10 months ago
Jens Petersen
b344bafe9d
fixup %cabal_configure: print package build header
10 months ago
Jens Petersen
60b8af07f5
prepare 2.6.7 release
10 months ago
Jens Petersen
ce2d3a11d4
drop fedora lowerbound for obsoletes subpkg
10 months ago
Jens Petersen
bb2f1ebea3
add no-prof subpackage: disables building prof subpackages
...
overriding ghc-srpm-macros
10 months ago
Jens Petersen
000d471347
%cabal_test: conditional is in cabal-rpm
10 months ago
Fedora Release Engineering
7c9482ee7a
Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
11 months ago
Fedora Release Engineering
9d75f58f15
Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
11 months ago
Jens Petersen
a8ecfed0e9
prepare 2.6.5
1 year ago
Jens Petersen
6de96812b5
append \ to flatpak comments
1 year ago
Jens Petersen
6fc265fb5e
add comments about flatpak hardcoding of paths
1 year ago
Yaakov Selkowitz
cb06e9e98f
Fix flatpak builds
...
Packages to be installed into flatpaks are built with the /app prefix
but build-only dependencies use the system packages in /usr. Since ghc
falls into the latter category, installation path macros must not be
used to reference their installed location.
1 year ago
Jens Petersen
0a2fb947eb
Revert "ghc_gen_filelists: tweak haddock_dir for ghc-9.8 short hash suffices"
...
This reverts commit 1466da90e6
.
instead removing the ghc9.8 haddock dirs hashes
1 year ago
Jens Petersen
1466da90e6
ghc_gen_filelists: tweak haddock_dir for ghc-9.8 short hash suffices
1 year ago
Jens Petersen
6715b2ec7b
%ghc_gen_filelists: tweak pkgdir for ghc-9.8 library short hashes
1 year ago
Jens Petersen
774ae4cf8f
add ghc-info.sh to read fields from ghc --info
1 year ago
Jens Petersen
4c6ae99d0a
move iwlib obsoletes to f32
1 year ago
Jens Petersen
8731e3a669
remove old f29-f31 obsoletes
1 year ago
Jens Petersen
6c7a63072f
bump release
1 year ago
Jens Petersen
a7c0dc9731
migrate license tag to SPDX
1 year ago
Jens Petersen
2a7dea60de
f39: obsoletes data-array-byte
1 year ago
Jens Petersen
d53aa8ff45
2.5.3 changelog entries
1 year ago
Jens Petersen
677bd4cd6b
F39: obsolete geniplate-mirror
1 year ago
Fedora Release Engineering
13c177cf0f
Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
1 year ago
Jens Petersen
da8b6a2c9f
f38: also obsolete regex-compat-tdfa
2 years ago
Jens Petersen
b918424076
add obsoletes for F38
2 years ago
Jens Petersen
3a116c6a29
ghc.attr: include Hadrian lib/ subdir in .conf regex
...
otherwise lib packages fail to generate devel deps
2 years ago
Jens Petersen
6d69503ff3
ghc-dep.sh: check for *_p.a under Hadrian platform subdir as well
2 years ago
Jens Petersen
fa4c615f86
2.5.1
2 years ago
Jens Petersen
e71475ee24
changelog for 2.5.0
2 years ago
Jens Petersen
0017f57fc4
setup _ghcdynlibdir from spec file for current releases
2 years ago
Jens Petersen
3c68a12dbb
remove ghc-info.sh again
2 years ago
Jens Petersen
4ac79fbdbd
drop old rhel6 extra deps lines from ghc-deps.sh
2 years ago
Jens Petersen
acff114c1d
add ghc-info.sh to handle hadrian %ghclibdir/lib
2 years ago
Jens Petersen
1e680edbc7
ghc_configure and ghc_version now respect ghc_name for ghcX.Y
2 years ago
Jens Petersen
dfe7e03c1c
define ghc_smp_mflags to speed up package builds
...
suggested in https://github.com/fedora-haskell/ghc-rpm-macros/issues/10
2 years ago
Jens Petersen
d5f701318c
F36 obsoletes regex-applicative-text
...
actually stack-2.7.5 dropped it
2 years ago
Jens Petersen
eb63b71620
in 9.4.1 Hadrian html docdirs are versioned again
...
if using hadrian we also check for unversioned
2 years ago
Jens Petersen
b6ba7540fe
%ghc_gen_filelists: check pkg licensedir exists
...
prevents warning errors: eg for ghc9.4:
ls: cannot access '~/fedora/haskell/ghc9.4/BUILDROOT/ghc9.4-9.4.0.20220721-7.fc37.x86_64/usr/share/licenses/ghc9.4-Cabal': No such file or directory
etc, though not actually harmful
2 years ago
Fedora Release Engineering
0fd2441bc1
Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2 years ago
Jens Petersen
b8cd891b77
in F37 ghc-filesystem is now a subpackage of ghc
2 years ago
Jens Petersen
4f552ad804
ghc_bin_build,ghc_lib_build: define ghc_debuginfo to really enable debuginfo
2 years ago
Jens Petersen
1facb30fc0
ghc_bin_build,ghc_lib_build: defining %ghc_debuginfo allows debuginfo
...
Needed for ghcX.Y which builds hadrian using %ghc_bin_build
which accidently disabled debuginfo as a side-effect,
which lead to ghcX.Y-compiler .build-id file conflicts:
Error: Transaction test error:
file /usr/lib/.build-id/4e/f85f81abfd9c031a34af8117ab8e14fcbae536 from install of ghc9.4-compiler-9.4.0.20220623-5.fc36.x86_64 conflicts with file from package ghc9.2-compiler-9.2.3-10.fc36.x86_64
due to missing debuginfo data
2 years ago
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
3 years ago
Jens Petersen
bb41ad6f7b
add missing changelog entry for _ghc_doc_dir
3 years ago
Jens Petersen
e780fd088d
add %_ghc_doc_dir
...
used for filesystem
3 years ago
Jens Petersen
051b51f30f
define ghc_prefix (used for ghcX.Y packaging)
3 years ago
Jens Petersen
7f9cbd873d
drop ghc-compiler requires to allow using ghcX.Y-compiler-default
3 years ago