Related: #1915205 - temporarily remove the run-time dependency on index-html
This commit is contained in:
parent
ac404df81e
commit
04e4bf2740
12
lynx.spec
12
lynx.spec
@ -3,7 +3,7 @@
|
||||
Summary: A text-based Web browser
|
||||
Name: lynx
|
||||
Version: 2.8.9
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
License: GPLv2
|
||||
Source: https://invisible-mirror.net/archives/lynx/tarballs/lynx%{version}rel.%{devrel}.tar.bz2
|
||||
URL: http://lynx.browser.org/
|
||||
@ -40,7 +40,8 @@ BuildRequires: zlib-devel
|
||||
|
||||
# provides /usr/share/doc/HTML/en-US/index.html used as STARTFILE on RHEL
|
||||
%if 0%{?rhel} && !0%{?eln}
|
||||
Requires: redhat-indexhtml
|
||||
# The redhat-indexhtml package is not yet available for RHEL-9 (#1915205)
|
||||
#Requires: redhat-indexhtml
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -61,7 +62,9 @@ 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}
|
||||
sed -e 's,^STARTFILE:.*,STARTFILE:file:/usr/share/doc/HTML/en-US/index.html,' -i lynx.cfg
|
||||
# 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
|
||||
%endif
|
||||
|
||||
%build
|
||||
@ -134,6 +137,9 @@ 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)
|
||||
|
||||
* Wed Dec 30 2020 Kamil Dudka <kdudka@redhat.com> - 2.8.9-10
|
||||
- remove unused build-time dependency on slang-devel (#1910966)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user