From 85f06c6bf83b57443bb7438fb8bd9d7195670b67 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Nov 17 2008 19:34:35 +0000 Subject: switch to /var/lib/git-daemon from /srv/git rh bug #443707 --- diff --git a/git.spec b/git.spec index 839b452..eb9a2f6 100644 --- a/git.spec +++ b/git.spec @@ -171,7 +171,7 @@ find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';' %else rm -rf $RPM_BUILD_ROOT%{_mandir} %endif -mkdir -p $RPM_BUILD_ROOT/srv/git +mkdir -p $RPM_BUILD_ROOT/var/lib/git-daemon mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d install -m 644 -T contrib/completion/git-completion.bash $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/git @@ -248,7 +248,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %{_bindir}/git-daemon %config(noreplace)%{_sysconfdir}/xinetd.d/git -/srv/git +/var/lib/git-daemon %files -n gitweb %defattr(-,root,root) @@ -260,6 +260,9 @@ rm -rf $RPM_BUILD_ROOT # No files for you! %changelog +* Mon Nov 17 2008 Seth Vidal +- switch from /srv/git to /var/lib/git-daemon for packaging rules compliance + * Fri Nov 14 2008 Josh Boyer 1.6.0.4-1 - git-1.6.0.4 diff --git a/git.xinetd b/git.xinetd index dcfae91..e8ecfda 100644 --- a/git.xinetd +++ b/git.xinetd @@ -9,7 +9,7 @@ service git wait = no user = nobody server = /usr/bin/git-daemon - server_args = --base-path=/srv/git --export-all --user-path=public_git --syslog --inetd --verbose + server_args = --base-path=/var/lib/git-daemon --export-all --user-path=public_git --syslog --inetd --verbose log_on_failure += USERID # xinetd doesn't do this by default. bug #195265 flags = IPv6