SPECS: pm-utils.spec - package manuals - mark log file as %ghost

megabajt megabajt at pld-linux.org
Tue Nov 6 21:44:22 CET 2007


Author: megabajt                     Date: Tue Nov  6 20:44:22 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package manuals
- mark log file as %ghost

---- Files affected:
SPECS:
   pm-utils.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/pm-utils.spec
diff -u SPECS/pm-utils.spec:1.1 SPECS/pm-utils.spec:1.2
--- SPECS/pm-utils.spec:1.1	Fri Nov  2 20:57:44 2007
+++ SPECS/pm-utils.spec	Tue Nov  6 21:44:17 2007
@@ -36,10 +36,13 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_var}/log
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+touch $RPM_BUILD_ROOT%{_var}/log/pm-suspend.log
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -66,6 +69,8 @@
 %attr(755,root,root) %{_sbindir}/pm-powersave
 %attr(755,root,root) %{_sbindir}/pm-suspend
 %attr(755,root,root) %{_sbindir}/pm-suspend-hybrid
+%{_mandir}/man1/*.1*
+%ghost %{_var}/log/pm-suspend.log
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -73,6 +78,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/11/06 20:44:17  megabajt
+- package manuals
+- mark log file as %ghost
+
 Revision 1.1  2007/11/02 19:57:44  megabajt
 - new; NFY
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pm-utils.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list