diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec index 7d9d820..7cd6347 100644 --- a/ghc-rpm-macros.spec +++ b/ghc-rpm-macros.spec @@ -10,8 +10,8 @@ #%%global without_hscolour 1 Name: ghc-rpm-macros -Version: 1.9.5 -Release: 6%{?dist} +Version: 1.9.6 +Release: 1%{?dist} Summary: RPM macros for building Haskell packages for GHC License: GPLv3+ @@ -175,6 +175,9 @@ EOF %changelog +* Fri Feb 1 2019 Jens Petersen - 1.9.6-1 +- disable debuginfo by undefining _enable_debug_packages + * Thu Jan 31 2019 Fedora Release Engineering - 1.9.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/macros.ghc b/macros.ghc index b62f7f8..5375a0f 100644 --- a/macros.ghc +++ b/macros.ghc @@ -122,13 +122,13 @@ fi\ # ghc_bin_build %ghc_bin_build\ -%global debug_package %{nil}\ +%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()\ -%global debug_package %{nil}\ +%undefine _enable_debug_packages\ %if 0%{?rhel} && 0%{?rhel} < 8\ licensedirversion=%{?2:-%2}\ %endif\