add with_ghc_prof; drop ghc_arches_with_ghci and ghc_devel_prof

with_ghc_prof pulls in and turns on building of prof subpackages
This commit is contained in:
Jens Petersen 2023-01-21 23:48:06 +08:00
parent 4956e2a849
commit cd166767aa
2 changed files with 10 additions and 10 deletions

View File

@ -4,8 +4,8 @@
%global macros_dir %{_rpmconfigdir}/macros.d
Name: ghc-srpm-macros
Version: 1.5.0
Release: 8%{?dist}
Version: 1.6.0
Release: 1%{?dist}
Summary: RPM macros for building Haskell source packages
License: GPLv2+
@ -35,6 +35,11 @@ install -p -D -m 0644 %{SOURCE0} %{buildroot}/%{macros_dir}/macros.ghc-srpm
%changelog
* Sat Jan 21 2023 Jens Petersen <petersen@redhat.com> - 1.6.0-1
- drop long unused ghc_arches_with_ghci
- update (unused) ghc_arches
- replace unused ghc_devel_prof with with_ghc_prof (moved from ghc-rpm-macros)
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

View File

@ -1,13 +1,8 @@
# Macros needed for building srpms of Haskell packages
# from ghc-7.8 ghci is supported on all arch's
# former archs: armv5tel ppc sparcv9
%ghc_arches_with_ghci %{ix86} x86_64 armv7hl ppc64 ppc64le aarch64 s390 s390x %{mips}
# ghc_arches is not used in current packages but still here for back compat
# former archs: alpha ppc sparcv9 armv5tel
%ghc_arches %{ix86} x86_64 armv7hl ppc64 ppc64le aarch64 s390 s390x
%ghc_arches %{ix86} x86_64 armv7hl ppc64le aarch64 s390x
# control whether to BR devel or prof library packages
# (prof subpackages were introduced in F31)
%ghc_devel_prof prof
# enable profiling libraries in prof subpkgs
%with_ghc_prof 1