[rkhunter] Update %files section so that some .dat files are marked %ghost

Kevin Fenzi kevin at fedoraproject.org
Sat Oct 15 23:52:10 UTC 2011


commit 8b0198deaf40df96e71a09db2687d62f37bd1918
Author: Kevin Fenzi <kevin at scrye.com>
Date:   Sat Oct 15 17:52:02 2011 -0600

    Update %files section so that some .dat files are marked %ghost

 rkhunter.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/rkhunter.spec b/rkhunter.spec
index de286b1..bc942d1 100644
--- a/rkhunter.spec
+++ b/rkhunter.spec
@@ -1,6 +1,6 @@
 Name:           rkhunter
 Version:        1.3.8
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        A host-based tool to scan for rootkits, backdoors and local exploits
 
 Group:          Applications/System
@@ -91,6 +91,8 @@ EOF
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
 %dir %{_var}/lib/%{name}
 %{_var}/lib/%{name}/db
+%ghost %{_var}/lib/%{name}/db/mirrors.dat
+%ghost %{_var}/lib/%{name}/db/programs_bad.dat
 %{_var}/lib/%{name}/db/i18n
 %dir %{_var}/log/%{name}
 %config(noreplace) %{_sysconfdir}/%{name}.conf
@@ -99,6 +101,9 @@ EOF
 %{_mandir}/man8/*
 
 %changelog
+* Wed Oct 12 2011 Jim Pirzyk <jim+rpm at pirzyk.org> - 1.3.8-10
+- Update %files section so that some .dat files are marked %ghost
+
 * Fri Aug 05 2011 Kevin Fenzi <kevin at scrye.com> - 1.3.8-9
 - Add patch to fix ALLOWPROCDELFILE config option. fixes bug #727524
 


More information about the scm-commits mailing list