forked from pool/ghc-rpm-macros
update to 1.4.7 and remove ghc dependency workaround OBS-URL: https://build.opensuse.org/request/show/287470 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-rpm-macros?expand=0&rev=40
19 lines
740 B
Diff
19 lines
740 B
Diff
Index: ghc-rpm-macros-81726e4857a866d19cc59b496846d127b9e8c381/macros.ghc
|
|
===================================================================
|
|
--- ghc-rpm-macros-81726e4857a866d19cc59b496846d127b9e8c381.orig/macros.ghc
|
|
+++ ghc-rpm-macros-81726e4857a866d19cc59b496846d127b9e8c381/macros.ghc
|
|
@@ -177,3 +177,13 @@ done\
|
|
%global without_prof 1\
|
|
%global without_haddock 1\
|
|
%global without_manual 1
|
|
+
|
|
+# ghc_suse_disable_debug_packages
|
|
+%ghc_suse_disable_debug_packages\
|
|
+%global debug_package %{nil}\
|
|
+%global __debug_install_post %{nil}\
|
|
+%global suse_insert_debug_package %{nil}\
|
|
+echo "/usr/lib/debug" > debugfiles.list\
|
|
+mkdir -p %{buildroot}/usr/lib/debug\
|
|
+echo "/usr/src/debug" > debugsources.list\
|
|
+mkdir -p %{buildroot}/usr/src/debug
|