no longer disable debuginfo by default
cblrpm checks if there are C files in a package if not it disables debuginfo
This commit is contained in:
parent
19ad5a530b
commit
3efe41dd0c
@ -6,7 +6,7 @@
|
||||
#%%global without_hscolour 1
|
||||
|
||||
Name: ghc-rpm-macros
|
||||
Version: 1.3.4
|
||||
Version: 1.3.5
|
||||
Release: 1%{?dist}
|
||||
Summary: RPM macros for building packages for GHC
|
||||
|
||||
@ -93,6 +93,10 @@ EOF
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 29 2014 Jens Petersen <petersen@redhat.com> - 1.3.5-1
|
||||
- no longer disable debuginfo by default:
|
||||
packages now need to explicitly opt out of debuginfo if appropriate
|
||||
|
||||
* Thu Aug 28 2014 Jens Petersen <petersen@redhat.com> - 1.3.4-1
|
||||
- drop -O2 for ghc-7.8: it uses too much build mem
|
||||
|
||||
|
@ -80,13 +80,11 @@ install -D --mode=0644 %{pkgnamever}.conf %{buildroot}%{ghclibdir}/package.conf.
|
||||
|
||||
# ghc_bin_build
|
||||
%ghc_bin_build\
|
||||
%global debug_package %{nil}\
|
||||
%cabal_configure\
|
||||
%cabal build
|
||||
|
||||
# ghc_lib_build_without_haddock [name] [version]
|
||||
%ghc_lib_build_without_haddock()\
|
||||
%global debug_package %{nil}\
|
||||
%cabal_configure %{!?without_prof:-p} %{!?ghc_without_shared:--enable-shared} %{?pkg_name:--htmldir=%{ghclibdocdir}/%{pkg_name}} %{?1:--docdir=%{_docdir}/ghc-%1%{!?fedora:-%2} --htmldir=%{ghclibdocdir}/%1} %{!?1:--global} %{?ghc_with_lib_for_ghci:--enable-library-for-ghci}\
|
||||
%cabal build\
|
||||
%{nil}
|
||||
|
Loading…
Reference in New Issue
Block a user