forked from pool/ghc-rpm-macros
- update to 1.4.93 - refreshed: add-group.patch files-defattr.patch fix-gen-filelists.patch fix-library-dir.patch suse-disable-debug-packages.patch suse-docdir.patch - dropped: version-docdirs.patch fix-runpath.patch ldflags.patch - added: remove-flags.patch - fix ghc-pkg path in ghc-deps.sh for ghc-7.10 - local pkgdir macro is redundant - use utf8 locale for cabal - add explicit --enable-shared again for arm64 - introduce ghc_pkgdocdir since no _pkgdocdir in RHEL 7 and earlier - allow overriding ghc- prefix with ghc_name (for ghc784 etc) - version ghc-pkg in ghc_pkg_recache - have to turn off hardening in cabal_configure: set _hardened_ldflags to nil - add cabal_test macro - only run cabal haddock for real libraries with modules - make sure basepkg.files is also created for meta packages - fix the R*PATH regexp - version ghcpkgdocdir - add new names ghc_html_dir, ghc_html_libraries_dir, and ghc_html_pkg_dir - correct cabal-tweak-flag error message for missing flag - update ghc_gen_filelists to use new keyed library filepaths OBS-URL: https://build.opensuse.org/request/show/327589 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-rpm-macros?expand=0&rev=49
19 lines
638 B
Diff
19 lines
638 B
Diff
Index: ghc-rpm-macros-1.4.93/macros.ghc
|
|
===================================================================
|
|
--- ghc-rpm-macros-1.4.93.orig/macros.ghc
|
|
+++ ghc-rpm-macros-1.4.93/macros.ghc
|
|
@@ -186,3 +186,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
|