add %ghc_devel_prof config to handle devel/prof lib BRs

This commit is contained in:
Jens Petersen 2019-09-27 18:06:47 +08:00
parent bf725e3e8b
commit f5201b70db
2 changed files with 6 additions and 2 deletions

View File

@ -11,7 +11,7 @@
Name: ghc-rpm-macros
Version: 2.0.5
Release: 1%{?dist}
Release: 2%{?dist}
Summary: RPM macros for building Haskell packages for GHC
License: GPLv3+
@ -206,6 +206,9 @@ EOF
%changelog
* Fri Sep 27 2019 Jens Petersen <petersen@redhat.com> - 2.0.5-2
- define ghc_devel_prof
* Tue Aug 27 2019 Jens Petersen <petersen@redhat.com> - 2.0.5-1
- ghc-deps.sh: fix generation of prof deps

View File

@ -12,4 +12,5 @@
# enable library documentation in doc subpkgs
%with_haddock 1
#%%cabal_install_options -v
# devel suffix
%ghc_devel_prof %{?with_ghc_prof:prof}%{!?with_ghc_prof:devel}