]> git.pld-linux.org Git - packages/lxc.git/blobdiff - lxc.spec
package /var/log/lxc dir
[packages/lxc.git] / lxc.spec
index 975099d9265ef5480ba070f65346f7b5b9ba9fe1..f7118b3ec5ff48998718ba8ac5dfba5b735e1af4 100644 (file)
--- a/lxc.spec
+++ b/lxc.spec
@@ -131,7 +131,7 @@ cp -p %{SOURCE1} templates/lxc-pld.in
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{configpath},/var/cache/lxc}
+install -d $RPM_BUILD_ROOT{%{configpath},/var/{cache,log}/lxc}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
        pcdatadir=%{_pkgconfigdir}
@@ -227,7 +227,8 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %dir %{configpath}
-%dir /var/cache/lxc
+%dir %attr(750,root,root) /var/log/lxc
+%dir %attr(750,root,root) /var/cache/lxc
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.343943 seconds and 4 git commands to generate.