From ad00c3ae949bbe85da61f9a08f067f01acfb38ab Mon Sep 17 00:00:00 2001 From: Merlin Mathesius Date: Thu, 6 Aug 2020 16:55:40 -0500 Subject: [PATCH] Skip RHEL-specific Requires and STARTFILE edit when building for ELN Signed-off-by: Merlin Mathesius --- lynx.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lynx.spec b/lynx.spec index e496bbb..45f454a 100644 --- a/lynx.spec +++ b/lynx.spec @@ -3,7 +3,7 @@ Summary: A text-based Web browser Name: lynx Version: 2.8.9 -Release: 8%{?dist} +Release: 9%{?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,7 @@ BuildRequires: zip BuildRequires: zlib-devel # provides /usr/share/doc/HTML/en-US/index.html used as STARTFILE on RHEL -%if 0%{?rhel} +%if 0%{?rhel} && !0%{?eln} Requires: redhat-indexhtml %endif @@ -61,7 +61,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} +%if 0%{?rhel} && !0%{?eln} sed -e 's,^STARTFILE:.*,STARTFILE:file:/usr/share/doc/HTML/en-US/index.html,' -i lynx.cfg %endif @@ -135,6 +135,9 @@ EOF %config(noreplace,missingok) %{_sysconfdir}/lynx-site.cfg %changelog +* Thu Aug 06 2020 Merlin Mathesius - 2.8.9-9 +- Skip RHEL-specific Requires and STARTFILE edit when building for ELN + * Tue Jul 28 2020 Fedora Release Engineering - 2.8.9-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild