correct manpage location from docdir

This commit is contained in:
Jens Petersen 2023-01-31 11:16:41 +08:00
parent e3d6c97334
commit 608b9ae719

View File

@ -704,7 +704,7 @@ rm %{buildroot}%{_pkgdocdir}/archives/libraries.html.tar.xz
%if %{with manual}
rm %{buildroot}%{_pkgdocdir}/archives/Haddock.html.tar.xz
rm %{buildroot}%{_pkgdocdir}/archives/users_guide.html.tar.xz
mv %{buildroot}%{ghc_html_dir}/users_guide/build-man/ghc.1 %{buildroot}%{_mandir}/man1/
mv %{buildroot}%{_ghc_doc_dir}/users_guide/build-man/ghc.1 %{buildroot}%{_mandir}/man1/
%endif
%endif