From cc613bc950b821d4ff5168455ef09251be44671a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 31 Jan 2012 11:31:26 +0000 Subject: [PATCH] - added tmpfiles config for systemd Changed files: eventum.spec -> 1.332 --- eventum.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eventum.spec b/eventum.spec index dc77f21..ac1e180 100644 --- a/eventum.spec +++ b/eventum.spec @@ -39,6 +39,7 @@ Source14: %{name}.logrotate Source15: %{name}-lighttpd.conf Source16: http://www.isocra.com/images/updown2.gif # Source16-md5: deb6eeb2552ba757d3a949ed10c4107d +Source17: %{name}.tmpfiles Patch0: %{name}-lf.patch Patch2: %{name}-order.patch Patch3: group-users.patch @@ -509,6 +510,7 @@ install -d \ $RPM_BUILD_ROOT/var/log/{archive/,}%{name} \ $RPM_BUILD_ROOT/var/lib/%{name}/routed_{emails,drafts,notes} \ $RPM_BUILD_ROOT%{_appdir}/{include,htdocs/misc,upgrade} \ + $RPM_BUILD_ROOT/usr/lib/tmpfiles.d %{__make} install-eventum install-cli install-irc install-scm install-jpgraph install-localization \ sysconfdir=%{_webappdir} \ @@ -541,6 +543,8 @@ cp -p %{SOURCE14} $RPM_BUILD_ROOT/etc/logrotate.d/%{name} # postfix router install -p %{SOURCE13} $RPM_BUILD_ROOT%{_libdir}/router-postfix +install %{SOURCE17} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf + %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ht %find_lang %{name} @@ -701,7 +705,7 @@ done %{_appdir}/lib/eventum %{_appdir}/lib/jpgraph %exclude %{_appdir}/lib/eventum/class.monitor.php - +/usr/lib/tmpfiles.d/%{name}.conf %dir %attr(730,root,http) /var/run/%{name} %dir %attr(730,root,http) /var/cache/%{name} -- 2.44.0