[nsd/el6/master] use %ghost for /var/run/nsd

Paul Wouters pwouters at fedoraproject.org
Wed Mar 9 20:31:56 UTC 2011


commit cdae642417ca80cc0937708b5aab6b55f3e8a42c
Author: Paul Wouters <paul at xelerance.com>
Date:   Wed Mar 9 15:31:39 2011 -0500

    use %ghost for /var/run/nsd

 nsd.spec |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/nsd.spec b/nsd.spec
index fe65b27..2451565 100644
--- a/nsd.spec
+++ b/nsd.spec
@@ -1,7 +1,7 @@
 Summary: Fast and lean authoritative DNS Name Server
 Name: nsd
 Version: 3.2.7
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: BSD
 Url: http://www.nlnetlabs.nl/%{name}/
 Source: http://www.nlnetlabs.nl/downloads/%{name}/%{name}-%{version}.tar.gz
@@ -70,7 +70,7 @@ rm -rf ${RPM_BUILD_ROOT}
 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/nsd
 %attr(0755,root,root) %{_initrddir}/%{name}
 %{_sysconfdir}/cron.hourly/nsd
-%attr(0755,%{name},%{name}) %dir %{_localstatedir}/run/%{name}
+%ghost %attr(0755,%{name},%{name}) %dir %{_localstatedir}/run/%{name}
 %attr(0755,%{name},%{name}) %dir %{_localstatedir}/lib/%{name}
 %{_sbindir}/*
 %{_mandir}/*/*
@@ -97,8 +97,9 @@ if [ "$1" -ge "1" ]; then
 fi
 
 %changelog
-* Wed Mar 09 2011 Paul Wouters <paul at xelerance.com> - 3.2.7-3
-- Fix for nsd.init to report OK/FAILED properly (bz#656642)
+* Wed Mar 09 2011 Paul Wouters <paul at xelerance.com> - 3.2.7-4
+- Fix for nsd.init to report OK/FAILED properly (bz#525107)
+- Use ghost directive for /var/run/nsd (bz#656642)
 
 * Wed Mar 09 2011 Paul Wouters <paul at xelerance.com> - 3.2.7-2
 - Updated to 3.2.7


More information about the scm-commits mailing list