summaryrefslogtreecommitdiffstats
path: root/cgit.spec
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.spec')
-rw-r--r--cgit.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/cgit.spec b/cgit.spec
index 8a1f74e..85f59fa 100644
--- a/cgit.spec
+++ b/cgit.spec
@@ -119,6 +119,9 @@ EOF
# remove env shebang's from filter scripts
grep -rl '#!.*/env' filters/ | xargs -r sed -Ei 's@^(.+/)env (.+)$@\1\2@'
+# remove execute permissions from contrib file
+find contrib -type f | xargs -r chmod -x
+
# default httpd config
cat > httpd.conf <<EOF
Alias /cgit-data /usr/share/cgit
@@ -152,7 +155,7 @@ make test
%files
-%doc README* *.html
+%doc README* contrib *.html
%license COPYING
%config(noreplace) %{_sysconfdir}/cgitrc
%if ! %{with httpd_filesystem}
@@ -173,6 +176,7 @@ make test
%changelog
* Fri Jul 13 2018 Todd Zullinger <tmz@pobox.com> - 1.2-1
- Update to 1.2
+- Include contrib dir in docs
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild