[inn] Unghosting /var/run/news

Jochen Schmitt s4504kr at fedoraproject.org
Wed Oct 5 18:49:41 UTC 2011


commit a0752c831be8a4f7a057005c17718f24015ba24d
Author: Jochen Schmitt <Jochen at herr-schmitt.de>
Date:   Wed Oct 5 20:49:31 2011 +0200

    Unghosting /var/run/news

 inn.spec |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/inn.spec b/inn.spec
index 39dd403..3d77a93 100644
--- a/inn.spec
+++ b/inn.spec
@@ -1,7 +1,7 @@
 Summary: The InterNetNews system, an Usenet news server
 Name: inn
 Version: 2.5.2
-Release: 17%{?dist}
+Release: 18%{?dist}
 #see LICENSE file for details
 License: GPLv2+ and BSD and MIT and Public Domain
 Group: System Environment/Daemons
@@ -221,8 +221,6 @@ touch /var/log/news/news.crit
 touch /var/log/news/news.err
 chown -R news:news /var/log/news*
 
-systemd-tmpfiles --create %{_sysconfdir}/tmpfiles.d/inn.conf
-
 if [ $1 -eq 1 ]; then
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
 fi
@@ -305,7 +303,7 @@ fi
 %defattr(-,news,news,-)
 # tmpfile.d files
 %config(noreplace) %attr(-,root,root) %{_sysconfdir}/tmpfiles.d/inn.conf
-%ghost %dir %{_localstatedir}/run/news
+%dir %{_localstatedir}/run/news
 # /etc/news config files
 %dir %{_sysconfdir}/news
 %config(noreplace) %{_sysconfdir}/news/passwd.nntp
@@ -526,6 +524,9 @@ fi
 %{_mandir}/man1/inews*
 
 %changelog
+* Wed Oct  5 2011 Jochen Schmitt <Jochen herr-schmitt de> - 2.5.2-18
+- Unghosting /var/run/news
+
 * Wed Oct  5 2011 Jochen Schmitt <Jochen herr-schmitt de> - 2.5.2-17
 - Use tmpfiles.d to create /var/run/news
 - Clean up SPEC file 


More information about the scm-commits mailing list