disable debuginfo by undefining _enable_debug_packages
This commit is contained in:
parent
c3ba9ccbd8
commit
e35da2ef75
@ -10,8 +10,8 @@
|
|||||||
#%%global without_hscolour 1
|
#%%global without_hscolour 1
|
||||||
|
|
||||||
Name: ghc-rpm-macros
|
Name: ghc-rpm-macros
|
||||||
Version: 1.9.5
|
Version: 1.9.6
|
||||||
Release: 6%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: RPM macros for building Haskell packages for GHC
|
Summary: RPM macros for building Haskell packages for GHC
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -175,6 +175,9 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 1 2019 Jens Petersen <petersen@redhat.com> - 1.9.6-1
|
||||||
|
- disable debuginfo by undefining _enable_debug_packages
|
||||||
|
|
||||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.5-6
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.5-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
@ -122,13 +122,13 @@ fi\
|
|||||||
|
|
||||||
# ghc_bin_build
|
# ghc_bin_build
|
||||||
%ghc_bin_build\
|
%ghc_bin_build\
|
||||||
%global debug_package %{nil}\
|
%undefine _enable_debug_packages\
|
||||||
%cabal_configure\
|
%cabal_configure\
|
||||||
%cabal build %{?ghc_smp_mflags} %{?cabal_build_options}
|
%cabal build %{?ghc_smp_mflags} %{?cabal_build_options}
|
||||||
|
|
||||||
# ghc_lib_build_without_haddock [name] [version]
|
# ghc_lib_build_without_haddock [name] [version]
|
||||||
%ghc_lib_build_without_haddock()\
|
%ghc_lib_build_without_haddock()\
|
||||||
%global debug_package %{nil}\
|
%undefine _enable_debug_packages\
|
||||||
%if 0%{?rhel} && 0%{?rhel} < 8\
|
%if 0%{?rhel} && 0%{?rhel} < 8\
|
||||||
licensedirversion=%{?2:-%2}\
|
licensedirversion=%{?2:-%2}\
|
||||||
%endif\
|
%endif\
|
||||||
|
Loading…
Reference in New Issue
Block a user