forked from pool/ghc-rpm-macros
- update to fake version 1.4.8 - dropped sle-sp1-rpmdeps.patch OBS-URL: https://build.opensuse.org/request/show/324450 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-rpm-macros?expand=0&rev=46
24 lines
674 B
Diff
24 lines
674 B
Diff
Index: ghc-rpm-macros-1.3.91/macros.ghc
|
|
===================================================================
|
|
--- ghc-rpm-macros-1.3.91.orig/macros.ghc
|
|
+++ ghc-rpm-macros-1.3.91/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\
|
|
@@ -29,7 +32,7 @@ LDFLAGS="${LDFLAGS:-%__global_ldflags}";
|
|
%cabal_install %cabal copy --destdir=%{buildroot} -v
|
|
|
|
# root dir for ghc docs
|
|
-%ghcdocbasedir %{_docdir}/ghc/html
|
|
+%ghcdocbasedir %{_datadir}/doc/ghc/html
|
|
# libraries doc dir
|
|
%ghclibdocdir %{ghcdocbasedir}/libraries
|
|
# pkg doc dir
|