From 99d5ca6f649683379d2df7fc4ed57280ee5e6356 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Mon, 24 Jul 2017 20:46:10 -0400 Subject: Remove el5 conditionals Support for el5 has been gone since March 2017. Clean up the cruft. --- cgit.spec | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/cgit.spec b/cgit.spec index e71253e..defc189 100644 --- a/cgit.spec +++ b/cgit.spec @@ -8,11 +8,6 @@ %global syntax_highlight 1 -%if 0%{?rhel} && 0%{?rhel} <= 5 -# On el5, manual actions are needed to make syntax highlighting work -%global syntax_highlight 0 -%endif - # Temporarily -- in epel-7-ppc64 is not highlight package currently, #1117261 %if 0%{?rhel} == 7 %ifarch ppc64 @@ -51,16 +46,12 @@ Source3: README.SELinux Provides: bundled(git) = %gitver %if %{syntax_highlight} -# On all but RHEL5 highlight is version 3. +# All supported releases use hightlight version 3. Patch1: cgit-0.9.1-highlightv3.patch BuildRequires: highlight %endif BuildRequires: asciidoc -%if 0%{?rhel} && 0%{?rhel} <= 5 -# These are missing asciidoc requirements -BuildRequires: docbook-style-xsl libxslt -%endif %if 0%{?fedora} || 0%{?rhel} >= 6 BuildRequires: libcurl-devel %else @@ -97,12 +88,6 @@ build_dist=%{?fedora:fedora}%{?rhel:rhel} build_ver=%{?fedora}%{?rhel} cgit_context=git_sys_content_t -case "$build_dist-$build_ver" in - rhel-5) - cgit_context=httpd_sys_content_t - ;; -esac - sed -e "s|@CGIT_CONTEXT@|$cgit_context|g" \ %{SOURCE3} > README.SELinux @@ -160,6 +145,7 @@ install -d -m0755 %{buildroot}%{cachedir} %changelog * Sun Feb 18 2018 Todd Zullinger - 1.1-10 - Use https for source URLs +- Remove el5 conditionals * Wed Feb 07 2018 Fedora Release Engineering - 1.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild -- cgit