From 3ede86ef29356c3872d74c6db76a3c78db4fd234 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 7 Mar 2017 17:16:34 +0100 Subject: doc: suggest proper selinux context Resolves: rhbz#1429790 Version: 1.1-3 --- cgit.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cgit.spec b/cgit.spec index 4dd8109..9968486 100644 --- a/cgit.spec +++ b/cgit.spec @@ -36,7 +36,7 @@ make V=1 %{?_smp_mflags} \\\ Name: cgit Version: 1.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A fast web interface for git Group: Development/Tools @@ -99,12 +99,9 @@ sed -i 's|^\(CFLAGS = \).*|\1%{optflags}|' git/Makefile build_dist=%{?fedora:fedora}%{?rhel:rhel} build_ver=%{?fedora}%{?rhel} -cgit_context=git_content_t +cgit_context=git_sys_content_t case "$build_dist-$build_ver" in - fedora-19|fedora-20|rhel-6|rhel-7) - cgit_context=httpd_git_content_t - ;; - rhel-5|-) + rhel-5) cgit_context=httpd_sys_content_t ;; esac @@ -161,6 +158,9 @@ rm -rf %{buildroot} %changelog +* Tue Mar 07 2017 Pavel Raiskup - 1.1-3 +- suggest using correct selinux context (rhbz#1429790) + * Fri Feb 10 2017 Fedora Release Engineering - 1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild -- cgit