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
27 lines
810 B
Diff
27 lines
810 B
Diff
Index: ghc-rpm-macros-81726e4857a866d19cc59b496846d127b9e8c381/macros.ghc
|
|
===================================================================
|
|
--- ghc-rpm-macros-81726e4857a866d19cc59b496846d127b9e8c381.orig/macros.ghc
|
|
+++ ghc-rpm-macros-81726e4857a866d19cc59b496846d127b9e8c381/macros.ghc
|
|
@@ -18,6 +18,9 @@ proceeding, to avoid dependency ABI brea
|
|
%endif\
|
|
fi
|
|
|
|
+# no _pkgdocdir in openSUSE
|
|
+%_pkgdocdir %{_docdir}/%{name}
|
|
+
|
|
# configure
|
|
%cabal_configure\
|
|
%ghc_check_bootstrap\
|
|
@@ -35,9 +38,9 @@ tests
|
|
%endif
|
|
|
|
# root dir for ghc docs (used by ghc.spec)
|
|
-%ghc_html_dir %{_docdir}/ghc/html
|
|
+%ghc_html_dir %{_datadir}/doc/ghc/html
|
|
# deprecates
|
|
-%ghcdocbasedir %{_docdir}/ghc/html
|
|
+%ghcdocbasedir %{_datadir}/doc/ghc/html
|
|
|
|
# libraries doc dir (internal)
|
|
%ghc_html_libraries_dir %{ghc_html_dir}/libraries
|