diff options
Diffstat (limited to 'cgit.spec')
-rw-r--r-- | cgit.spec | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -69,6 +69,9 @@ Cgit is a fast web interface for git. It uses caching to increase performance. rm -rf git mv git-%{gitver} git +# add README.SELinux +cp -p %{SOURCE3} . + # Use the same options for every invocation of 'make'. # Otherwise it will rebuild in %%install due to flags changes. cat << \EOF > cgit.conf @@ -95,16 +98,6 @@ EOF # remove env shebang's from filter scripts grep -rl '#!.*/env' filters/ | xargs -r sed -Ei 's@^(.+/)env (.+)$@\1\2@' -# I tried to use matchpathcon, but we would need to require -# selinux-policy-targeted probably. - -build_dist=%{?fedora:fedora}%{?rhel:rhel} -build_ver=%{?fedora}%{?rhel} - -cgit_context=git_sys_content_t -sed -e "s|@CGIT_CONTEXT@|$cgit_context|g" \ - %{SOURCE3} > README.SELinux - cat > httpd.conf <<EOF Alias /cgit-data /usr/share/cgit ScriptAlias /cgit /var/www/cgi-bin/cgit @@ -160,6 +153,7 @@ install -d -m0755 %{buildroot}%{cachedir} - use %%autosetup macro - drop crufty curl-devel conditional - fix parallel make issues in docs +- simplify README.SELinux install * Mon Jun 04 2018 Todd Zullinger <tmz@pobox.com> - make config: drop redundant DESTDIR/INSTALL, add COPYTREE |