diff --git a/ghc-srpm-macros.spec b/ghc-srpm-macros.spec index 461cfe1..e733b53 100644 --- a/ghc-srpm-macros.spec +++ b/ghc-srpm-macros.spec @@ -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 - 1.5.0-1 +- define ghc_devel_prof to handle prof/devel BRs across releases + * Thu Jul 25 2019 Fedora Release Engineering - 1.4.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/macros.ghc-srpm b/macros.ghc-srpm index bd50094..6701c64 100644 --- a/macros.ghc-srpm +++ b/macros.ghc-srpm @@ -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