[packages/lxc] package /var/log/lxc dir
glen
glen at pld-linux.org
Mon Nov 18 20:54:12 CET 2013
commit f10dfb13a901b8276583de9f5fb47023acbb96e2
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Nov 18 21:54:09 2013 +0200
package /var/log/lxc dir
lxc.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/lxc.spec b/lxc.spec
index 975099d..f7118b3 100644
--- 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)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lxc.git/commitdiff/f10dfb13a901b8276583de9f5fb47023acbb96e2
More information about the pld-cvs-commit
mailing list