make ghc-doc-index arch since haddock disabled on i686

BuildError: The following noarch package built differently on different architectures: ghc-doc-index-9.2.5-125.fc38.noarch.rpm
rpmdiff output was:
added       /usr/share/doc/ghc/html/libraries/doc-index-124.html
added       /usr/share/doc/ghc/html/libraries/doc-index-126.html
added       /usr/share/doc/ghc/html/libraries/doc-index-33.html
:
:
This commit is contained in:
Jens Petersen 2023-01-31 16:27:40 +08:00
parent 608b9ae719
commit eea1f6cad7

View File

@ -299,7 +299,8 @@ Summary: GHC library documentation indexing
License: BSD
Obsoletes: ghc-doc-cron < %{version}-%{release}
Requires: %{name}-compiler = %{version}-%{release}
BuildArch: noarch
# due to disabled haddock archs
#BuildArch: noarch
%obsoletes_ghcXY doc-index
%description doc-index