Make substitutions a little more explicit.
This commit is contained in:
parent
3ebb6ff6bf
commit
96fb7210c3
|
@ -5,7 +5,7 @@
|
|||
Summary: Anti-virus software
|
||||
Name: clamav
|
||||
Version: 0.97.2
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
License: GPLv2
|
||||
Group: Applications/System
|
||||
URL: http://www.clamav.net/
|
||||
|
@ -166,8 +166,8 @@ xz -dc %{SOURCE0} | (cd .. ; tar xvvf -)
|
|||
%{__perl} -pi.orig -e '
|
||||
s|^(Example)|#$1|;
|
||||
s|^#(User) .+$|$1 clam|;
|
||||
s|#MilterSocket inet.+$|MilterSocket /var/run/clamav/clamav-milter.sock|;
|
||||
s|#PidFile .+$|PidFile /var/run/clamav/clamav-milter.pid|;
|
||||
s|^#(MilterSocket) inet.+$|$1 /var/run/clamav/clamav-milter.sock|;
|
||||
s|^#(PidFile) .+$|$1 /var/run/clamav/clamav-milter.pid|;
|
||||
s|^#(ClamdSocket) .+$|$1 unix:%{_localstatedir}/run/clamav/clamd.sock|;
|
||||
' etc/clamav-milter.conf
|
||||
|
||||
|
@ -409,7 +409,7 @@ rm -rf %{buildroot}
|
|||
%exclude %{_libdir}/libclamav.la
|
||||
|
||||
%changelog
|
||||
* Thu Aug 4 2011 Jan-Frode Myklebuust <janfrode@tanso.net> - 0.97.2-4
|
||||
* Thu Aug 4 2011 Jan-Frode Myklebuust <janfrode@tanso.net> - 0.97.2-5
|
||||
- Configure MilterSocket, PidFile and MilterSocket in clamav-milter.conf.
|
||||
(bz#727894)
|
||||
|
||||
|
|
Loading…
Reference in New Issue