add %ghc_devel_prof to handle prof/devel BRs across releases

F31 introduces prof subpackages
This commit is contained in:
Jens Petersen 2019-10-01 17:36:30 +08:00
parent 81b4e42b3d
commit f4b296622c
2 changed files with 9 additions and 2 deletions

View File

@ -4,8 +4,8 @@
%global macros_dir %{_rpmconfigdir}/macros.d
Name: ghc-srpm-macros
Version: 1.4.2
Release: 10%{?dist}
Version: 1.5.0
Release: 1%{?dist}
Summary: RPM macros for building Haskell source packages
License: GPLv2+
@ -35,6 +35,9 @@ install -p -D -m 0644 %{SOURCE0} %{buildroot}/%{macros_dir}/macros.ghc-srpm
%changelog
* Tue Oct 1 2019 Jens Petersen <petersen@redhat.com> - 1.5.0-1
- define ghc_devel_prof to handle prof/devel BRs across releases
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View File

@ -7,3 +7,7 @@
# 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
# control whether to BR devel or prof library packages
# (prof subpackages were introduced in F31)
%ghc_devel_prof prof