SPECS: clamav.spec - remove installed database files when built wi...
glen
glen at pld-linux.org
Sun Jun 12 20:29:50 CEST 2005
Author: glen Date: Sun Jun 12 18:29:50 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- remove installed database files when built with database bcond off
---- Files affected:
SPECS:
clamav.spec (1.161 -> 1.162)
---- Diffs:
================================================================
Index: SPECS/clamav.spec
diff -u SPECS/clamav.spec:1.161 SPECS/clamav.spec:1.162
--- SPECS/clamav.spec:1.161 Tue May 17 10:12:40 2005
+++ SPECS/clamav.spec Sun Jun 12 20:29:45 2005
@@ -190,11 +190,14 @@
install %{SOURCE4} $RPM_BUILD_ROOT%{_sbindir}/clamav-cron-updatedb
install etc/*.conf $RPM_BUILD_ROOT%{_sysconfdir}
install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
+
%if %{with database}
install %{SOURCE6} $RPM_BUILD_ROOT/var/lib/%{name}
install %{SOURCE7} $RPM_BUILD_ROOT/var/lib/%{name}
install %{SOURCE8} $RPM_BUILD_ROOT%{_sbindir}
-%endif # database
+%else
+rm -f $RPM_BUILD_ROOT/var/lib/%{name}/{main,daily}.cvd
+%endif
# NOTE: clamd uses sane rights to it's clamd.pid file
# So better keep it dir
@@ -362,6 +365,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.162 2005/06/12 18:29:45 glen
+- remove installed database files when built with database bcond off
+
Revision 1.161 2005/05/17 08:12:40 zawadaa
- security rel - libclamav bug
- STBR for AC
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/clamav.spec?r1=1.161&r2=1.162&f=u
More information about the pld-cvs-commit
mailing list