put docs/haddocks under %ghc_name if defined
This commit is contained in:
parent
9e7ffdac88
commit
6a30ca822b
@ -7,7 +7,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: ghc-rpm-macros
|
Name: ghc-rpm-macros
|
||||||
Version: 2.3.9
|
Version: 2.3.10
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: RPM macros for building Haskell packages for GHC
|
Summary: RPM macros for building Haskell packages for GHC
|
||||||
|
|
||||||
@ -184,6 +184,9 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 29 2021 Jens Petersen <petersen@redhat.com> - 2.3.10-1
|
||||||
|
- ghc_html_dir: use ghc_name for ghcX.Y docs
|
||||||
|
|
||||||
* Mon Dec 20 2021 Jens Petersen <petersen@redhat.com> - 2.3.9-1
|
* Mon Dec 20 2021 Jens Petersen <petersen@redhat.com> - 2.3.9-1
|
||||||
- ghc-deps.sh: only exclude unversioned rts.conf
|
- ghc-deps.sh: only exclude unversioned rts.conf
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ fi\
|
|||||||
%ghc_pkgdocdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
|
%ghc_pkgdocdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
|
||||||
|
|
||||||
# root dir for ghc docs (used by ghc.spec)
|
# root dir for ghc docs (used by ghc.spec)
|
||||||
%ghc_html_dir %{_docdir}/ghc/html
|
%ghc_html_dir %{_docdir}/%{?ghc_name}%{!?ghc_name:ghc}/html
|
||||||
# deprecates
|
# deprecates
|
||||||
%ghcdocbasedir %ghc_html_dir
|
%ghcdocbasedir %ghc_html_dir
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user