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
21 lines
823 B
Diff
21 lines
823 B
Diff
Index: ghc-rpm-macros-1.4.93/macros.ghc-extra
|
|
===================================================================
|
|
--- ghc-rpm-macros-1.4.93.orig/macros.ghc-extra
|
|
+++ ghc-rpm-macros-1.4.93/macros.ghc-extra
|
|
@@ -9,6 +9,7 @@
|
|
%define basepkg %{ghc_prefix}-%{pkgname}\
|
|
%package -n %{basepkg}\
|
|
Summary: Haskell %{pkgname} library\
|
|
+Group: System/Libraries\
|
|
%{?1:Version: %{pkgver}}\
|
|
%{-l:License: %{-l*}}\
|
|
Url: http://hackage.haskell.org/package/%{pkgname}\
|
|
@@ -19,6 +20,7 @@ This package provides the Haskell %{pkgn
|
|
\
|
|
%package -n %{basepkg}-devel\
|
|
Summary: Haskell %{pkgname} library development files\
|
|
+Group: Development/Languages/Other\
|
|
%{?1:Version: %{pkgver}}\
|
|
%{-l:License: %{-l*}}\
|
|
Requires(post): %{ghc_prefix}-compiler = %{ghc_version}\
|