Revert "ghc_gen_filelists: tweak haddock_dir for ghc-9.8 short hash suffices"

This reverts commit 1466da90e6.

instead removing the ghc9.8 haddock dirs hashes
epel9
Jens Petersen 1 year ago
parent 1466da90e6
commit 0a2fb947eb

@ -7,7 +7,7 @@
%endif
Name: ghc-rpm-macros
Version: 2.6.2
Version: 2.6.1
Release: 1%{?dist}
Summary: RPM macros for building Haskell packages for GHC
@ -185,9 +185,6 @@ mkdir -p %{buildroot}%{_docdir}/ghc/html/libraries
%changelog
* Thu Oct 26 2023 Jens Petersen <petersen@redhat.com> - 2.6.2-1
- ghc_gen_filelists: tweak haddock_dir for ghc-9.8 short hash suffices
* Tue Oct 24 2023 Jens Petersen <petersen@redhat.com> - 2.6.1-1
- ghc_gen_filelists: tweak pkgdir for ghc-9.8 short hash suffices

@ -197,11 +197,8 @@ fi\
ls %{buildroot}%{ghcliblib}${subsubdir}/package.conf.d/%{pkgnamever}*.conf >> %{basepkg}-devel.files\
%if %{with haddock}\
haddock_dir=%{ghc_html_libraries_dir}/%{pkgnamever}\
%if %[v"%{ghc_version}" > v"9.8"]\
haddock_dir="${haddock_dir}-*"\
%endif\
if [ -d %{buildroot}$haddock_dir ]; then\
echo %{buildroot}$haddock_dir >> %{basepkg}-doc.files\
echo $haddock_dir >> %{basepkg}-doc.files\
%if %{with hadrian}\
# for < 9.4.1-rc1\
else\

Loading…
Cancel
Save