ghc_bin_build,ghc_lib_build: define ghc_debuginfo to really enable debuginfo
This commit is contained in:
parent
1facb30fc0
commit
4f552ad804
@ -7,7 +7,7 @@
|
||||
%endif
|
||||
|
||||
Name: ghc-rpm-macros
|
||||
Version: 2.4.1
|
||||
Version: 2.4.2
|
||||
Release: 1%{?dist}
|
||||
Summary: RPM macros for building Haskell packages for GHC
|
||||
|
||||
@ -183,6 +183,9 @@ EOF
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jul 19 2022 Jens Petersen <petersen@redhat.com> - 2.4.2-1
|
||||
- ghc_bin_build,ghc_lib_build: define ghc_debuginfo to really enable debuginfo
|
||||
|
||||
* Sun Jul 17 2022 Jens Petersen <petersen@redhat.com> - 2.4.1-1
|
||||
- ghc_bin_build,ghc_lib_build: use ghc_debuginfo to enable debuginfo
|
||||
|
||||
|
@ -149,18 +149,14 @@ done\
|
||||
# ghc_bin_build
|
||||
%ghc_bin_build\
|
||||
%ghc_fix_doc_perms\
|
||||
%if %{undefined ghc_debuginfo}\
|
||||
%undefine _enable_debug_packages\
|
||||
%endif\
|
||||
%{?!ghc_debuginfo:%undefine _enable_debug_packages}\
|
||||
%cabal_configure\
|
||||
%cabal build %{?ghc_smp_mflags} %{?cabal_build_options}
|
||||
|
||||
# ghc_lib_build_without_haddock [name] [version]
|
||||
%ghc_lib_build_without_haddock()\
|
||||
%ghc_fix_doc_perms\
|
||||
%if %{undefined ghc_debuginfo}\
|
||||
%undefine _enable_debug_packages\
|
||||
%endif\
|
||||
%{?!ghc_debuginfo:%undefine _enable_debug_packages}\
|
||||
%if 0%{?rhel} && 0%{?rhel} < 8\
|
||||
licensedirversion=%{?2:-%2}\
|
||||
%endif\
|
||||
|
Loading…
Reference in New Issue
Block a user