SPECS: autolog.spec - add log file

arekm arekm at pld-linux.org
Thu Jul 21 21:43:11 CEST 2005


Author: arekm                        Date: Thu Jul 21 19:43:11 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add log file

---- Files affected:
SPECS:
   autolog.spec (1.37 -> 1.38) 

---- Diffs:

================================================================
Index: SPECS/autolog.spec
diff -u SPECS/autolog.spec:1.37 SPECS/autolog.spec:1.38
--- SPECS/autolog.spec:1.37	Mon Apr 26 15:47:01 2004
+++ SPECS/autolog.spec	Thu Jul 21 21:43:06 2005
@@ -3,7 +3,7 @@
 Summary(pl):	Przerywa połączenia bezczynnych użytkowników
 Name:		autolog
 Version:	0.40
-Release:	2
+Release:	3
 License:	GPL
 Group:		Daemons
 Source0:	ftp://sunsite.unc.edu/pub/Linux/system/admin/idle/%{name}-%{version}.tar.gz
@@ -36,7 +36,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{5,8},/etc/rc.d/init.d}
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{5,8},/etc/rc.d/init.d,/var/log}
 
 install autolog $RPM_BUILD_ROOT%{_sbindir}
 install autolog.conf $RPM_BUILD_ROOT%{_sysconfdir}
@@ -44,6 +44,8 @@
 install autolog.conf.5.gz $RPM_BUILD_ROOT%{_mandir}/man5
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 
+touch $RPM_BUILD_ROOT/var/log/autolog.log
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -70,6 +72,7 @@
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/autolog.conf
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %{_mandir}/man?/*
+%attr(640,root,root) %ghost /var/log/autolog.log
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -77,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.38  2005/07/21 19:43:06  arekm
+- add log file
+
 Revision 1.37  2004/04/26 13:47:01  adamg
 - release 2 for Ac (1 is for Ra)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/autolog.spec?r1=1.37&r2=1.38&f=u




More information about the pld-cvs-commit mailing list