Ondřej Súkup
a4e0d5b737
revert to old version, new has regression in generating requires for binnary OBS-URL: https://build.opensuse.org/request/show/344632 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-rpm-macros?expand=0&rev=54
27 lines
776 B
Diff
27 lines
776 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
|
|
@@ -19,6 +19,9 @@ proceeding, to avoid dependency ABI brea
|
|
%endif\
|
|
fi
|
|
|
|
+# no _pkgdocdir in openSUSE
|
|
+%_pkgdocdir %{_docdir}/%{name}
|
|
+
|
|
# configure
|
|
%cabal_configure\
|
|
%ghc_check_bootstrap\
|
|
@@ -40,9 +43,9 @@ tests
|
|
%ghc_pkgdocdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
|
|
|
|
# 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
|