summaryrefslogtreecommitdiffstats
path: root/abrt.spec
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2011-03-29 14:40:21 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2011-03-29 14:40:21 +0200
commit2b82cf4269a505a4d02a56d16578e3c001322af6 (patch)
tree8c8d65ae24e99ac8bb29d610fa1f5606b418c822 /abrt.spec
parent1972460bf7ad803097f8fb669dcb858f6135c7d5 (diff)
downloadabrt-2b82cf4269a505a4d02a56d16578e3c001322af6.tar.gz
abrt-2b82cf4269a505a4d02a56d16578e3c001322af6.tar.xz
abrt-2b82cf4269a505a4d02a56d16578e3c001322af6.zip
use %ghost on files in /var/run and /var/lock rhbz#656542
- this files are created in runtime and using %ghost will make them owned by rpm and thus removed during uninstall, but %ghost files are not required during the build.
Diffstat (limited to 'abrt.spec')
-rw-r--r--abrt.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/abrt.spec b/abrt.spec
index c0305a9f..a06d07dc 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -424,6 +424,8 @@ fi
%dir %attr(0755, abrt, abrt) %{_localstatedir}/spool/%{name}
%dir %attr(0700, abrt, abrt) %{_localstatedir}/spool/%{name}-upload
%dir %attr(0775, abrt, abrt) %{_localstatedir}/run/%{name}
+%ghost %attr(0666, -, -) %{_localstatedir}/run/%{name}/abrt.socket
+%ghost %attr(0644, -, -) %{_localstatedir}/run/abrtd.pid
%dir %{_sysconfdir}/%{name}
%dir %{_sysconfdir}/%{name}/plugins
%dir %{_sysconfdir}/%{name}/events.d