Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/lynx.git#823fee90bd9face57e4a0acee211f0f5fabb3de9
This commit is contained in:
DistroBaker 2021-02-02 21:41:56 +00:00
parent 04e4bf2740
commit 9fbad47433

View File

@ -31,8 +31,9 @@ Provides: text-www-browser
BuildRequires: dos2unix
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: openssl-devel
BuildRequires: make
BuildRequires: ncurses-devel
BuildRequires: openssl-devel
BuildRequires: telnet
BuildRequires: unzip
BuildRequires: zip
@ -40,8 +41,7 @@ BuildRequires: zlib-devel
# provides /usr/share/doc/HTML/en-US/index.html used as STARTFILE on RHEL
%if 0%{?rhel} && !0%{?eln}
# The redhat-indexhtml package is not yet available for RHEL-9 (#1915205)
#Requires: redhat-indexhtml
Requires: redhat-indexhtml
%endif
%description
@ -62,9 +62,7 @@ exits quickly and swiftly displays web pages.
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
sed -e "s,^HELPFILE:.*,HELPFILE:file://localhost%{_pkgdocdir}/lynx_help/lynx_help_main.html,g" -i lynx.cfg
%if 0%{?rhel} && !0%{?eln}
# The redhat-indexhtml package is not yet available for RHEL-9 (#1915205)
#sed -e 's,^STARTFILE:.*,STARTFILE:file:/usr/share/doc/HTML/en-US/index.html,' -i lynx.cfg
sed -e 's,^STARTFILE:.*,STARTFILE:https://access.redhat.com/,' -i lynx.cfg
sed -e 's,^STARTFILE:.*,STARTFILE:file:/usr/share/doc/HTML/en-US/index.html,' -i lynx.cfg
%endif
%build
@ -137,8 +135,8 @@ EOF
%config(noreplace,missingok) %{_sysconfdir}/lynx-site.cfg
%changelog
* Fri Jan 29 2021 Kamil Dudka <kdudka@redhat.com> - 2.8.9-11
- temporarily remove the run-time dependency on index-html (#1915205)
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.9-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Dec 30 2020 Kamil Dudka <kdudka@redhat.com> - 2.8.9-10
- remove unused build-time dependency on slang-devel (#1910966)