[fedmsg] /var/log/fedmsg wasn't being created correctly.
Ralph Bean
ralph at fedoraproject.org
Mon Jun 11 15:57:57 UTC 2012
commit 123389910557c8abb2750c192e25182816987439
Author: Ralph Bean <rbean at redhat.com>
Date: Mon Jun 11 11:57:29 2012 -0400
/var/log/fedmsg wasn't being created correctly.
fedmsg.spec | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/fedmsg.spec b/fedmsg.spec
index 08cbaf8..2e9a3f2 100644
--- a/fedmsg.spec
+++ b/fedmsg.spec
@@ -5,7 +5,7 @@
Name: fedmsg
Version: 0.2.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Tools for Fedora Infrastructure real-time messaging
Group: Applications/Internet
License: LGPLv2+
@@ -77,8 +77,8 @@ This package contains configuration and init scripts for the FedMsg IRC bot.
%{__mkdir_p} %{buildroot}%{_sysconfdir}/fedmsg.d/
%{__cp} fedmsg.d/*.py %{buildroot}%{_sysconfdir}/fedmsg.d/.
-%{__install} -d -m 0755 %{buildroot}/var/run/%{modname}
-%{__install} -d -m 0755 %{buildroot}/var/log/%{modname}
+%{__install} -d -m 0755 %{buildroot}/%{_var}/run/%{modname}
+%{__mkdir_p} %{buildroot}/%{_var}/log/%{modname}
%{__mkdir_p} %{buildroot}%{_sysconfdir}/init.d
%{__install} init.d/fedmsg-hub.init %{buildroot}%{_sysconfdir}/init.d/fedmsg-hub
@@ -128,7 +128,7 @@ fi
%{_bindir}/fedmsg-tail
%{_bindir}/fedmsg-config
-%ghost %attr(755, %{modname}, %{modname}) %dir %{_var}/log/%{modname}
+%attr(755, %{modname}, %{modname}) %dir %{_var}/log/%{modname}
%ghost %attr(755, %{modname}, %{modname}) %dir %{_var}/run/%{modname}
%{python_sitelib}/%{modname}/
@@ -151,6 +151,9 @@ fi
%changelog
+* Mon Jun 11 2012 Ralph Bean <rbean at redhat.com> - 0.2.0-3
+- /var/log/fedmsg wasn't being created correctly.
+
* Sat Jun 09 2012 Ralph Bean <rbean at redhat.com> - 0.2.0-2
- Split package into different daemonizable components.
More information about the scm-commits
mailing list