diff options
author | Todd Zullinger <tmz@pobox.com> | 2018-07-13 18:27:56 -0400 |
---|---|---|
committer | Todd Zullinger <tmz@pobox.com> | 2018-07-13 18:53:16 -0400 |
commit | 650d31681adb8a95da3fe073d99382112b60e610 (patch) | |
tree | e84113dfa374c6acf72ec1004a725bef6986d165 /cgit.spec | |
parent | 395011eb95b427c2f01e0a828d71d52e1b1633ef (diff) | |
download | cgit_EL6-650d31681adb8a95da3fe073d99382112b60e610.tar.gz |
Include contrib dir in docs
The agefile setting is often used in combination with a post-receive
hook. An example hook is included in contrib/hooks.
Diffstat (limited to 'cgit.spec')
-rw-r--r-- | cgit.spec | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |