Update tor.spec.in to correctly install torrc.sample. Fix suggested by

devilproxytor.


svn:r11618
This commit is contained in:
Andrew Lewman 2007-09-24 23:18:47 +00:00
parent 4068ad5297
commit eaec868017

View File

@ -191,8 +191,7 @@ for high-stakes anonymity.
%__install -p -m 755 contrib/torctl ${RPM_BUILD_ROOT}%{_bindir}
# Set up config file; "sample" file implements a basic user node.
%__install -p -m 644
%${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/torrc.sample %${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/torrc.sample
%__install -p -m 644 src/config/torrc.sample %${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/torrc.sample
# Install the logrotate control file.
%__mkdir_p -m 755 ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d