SPECS: ocs-ng-inventory.spec - add log directory

wolvverine wolvverine at pld-linux.org
Tue Oct 3 15:45:50 CEST 2006


Author: wolvverine                   Date: Tue Oct  3 13:45:50 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add log directory

---- Files affected:
SPECS:
   ocs-ng-inventory.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/ocs-ng-inventory.spec
diff -u SPECS/ocs-ng-inventory.spec:1.8 SPECS/ocs-ng-inventory.spec:1.9
--- SPECS/ocs-ng-inventory.spec:1.8	Tue Oct  3 14:55:08 2006
+++ SPECS/ocs-ng-inventory.spec	Tue Oct  3 15:45:45 2006
@@ -106,7 +106,7 @@
         DESTDIR=$RPM_BUILD_ROOT
 cd ..
 
-install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_sysconfdir}/logrotate.d}
+install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_sysconfdir}/logrotate.d,%{_var}/log/%{name}}
 cp -Rf ocsreports/* $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 # TODO patch this file for PLD
@@ -124,7 +124,7 @@
 %attr(755,root,root) %{_bindir}/Ocsinventory_local.pl
 %{_datadir}/%{name}/
 %{perl_vendorlib}/
-
+%attr(770,root,http) %dir %{_var}/log/%{name}
 
 #%files agent
 #%defattr(644,root,root,755)
@@ -135,6 +135,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2006/10/03 13:45:45  wolvverine
+- add log directory
+
 Revision 1.8  2006/10/03 12:55:08  wolvverine
 - add config patch, build section
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ocs-ng-inventory.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list