From 06c37a06e305bec55ec98c4a757bc16461a5804a Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Thu, 23 Apr 2015 15:09:37 +0200 Subject: [PATCH] setroubleshoot_database.xml and email_alert_recipients needs to be %ghost in order not to overwrite existing files --- setroubleshoot.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setroubleshoot.spec b/setroubleshoot.spec index 684fffb..3161034 100644 --- a/setroubleshoot.spec +++ b/setroubleshoot.spec @@ -172,8 +172,8 @@ rm -rf %{buildroot} %config(noreplace) %{pkgconfigdir}/%{name}.conf %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.fedoraproject.Setroubleshootd.conf %attr(0700,setroubleshoot,setroubleshoot) %dir %{pkgvardatadir} -%attr(0600,setroubleshoot,setroubleshoot) %{pkgdatabase} -%attr(0644,setroubleshoot,setroubleshoot) %{pkgvardatadir}/email_alert_recipients +%ghost %attr(0600,setroubleshoot,setroubleshoot) %{pkgdatabase} +%ghost %attr(0644,setroubleshoot,setroubleshoot) %{pkgvardatadir}/email_alert_recipients %{_mandir}/man8/sealert.8.gz %{_mandir}/man8/sedispatch.8.gz %{_mandir}/man8/setroubleshootd.8.gz